Update Akeno/plugins/emojiprem.py
Browse files
Akeno/plugins/emojiprem.py
CHANGED
@@ -26,6 +26,8 @@ async def knowledge_check(client: Client, message: Message):
|
|
26 |
await message.reply(str(e))
|
27 |
return
|
28 |
|
|
|
|
|
29 |
@Akeno(
|
30 |
~filters.scheduled
|
31 |
& filters.command(["setpemoji"], CMD_HANDLER)
|
@@ -33,10 +35,11 @@ async def knowledge_check(client: Client, message: Message):
|
|
33 |
& ~filters.forwarded
|
34 |
)
|
35 |
async def set_emoji_status(client: Client, message: Message):
|
36 |
-
|
37 |
-
if not
|
38 |
-
await message.reply_text("Example
|
39 |
return
|
|
|
40 |
only_premium = await client.get_users("me")
|
41 |
if only_premium.is_premium:
|
42 |
try:
|
|
|
26 |
await message.reply(str(e))
|
27 |
return
|
28 |
|
29 |
+
custom_verifed = "<emoji id=5850654130497916523>🗿</emoji>"
|
30 |
+
|
31 |
@Akeno(
|
32 |
~filters.scheduled
|
33 |
& filters.command(["setpemoji"], CMD_HANDLER)
|
|
|
35 |
& ~filters.forwarded
|
36 |
)
|
37 |
async def set_emoji_status(client: Client, message: Message):
|
38 |
+
text_get = str(message.command[1]) if len(message.command) > 1 else None
|
39 |
+
if not text_get:
|
40 |
+
await message.reply_text(f"Example ?setpemoji {custom_verifed}")
|
41 |
return
|
42 |
+
get_custom_emoji_id = message.text_get.entities[0].custom_emoji_id.strip()
|
43 |
only_premium = await client.get_users("me")
|
44 |
if only_premium.is_premium:
|
45 |
try:
|