Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
ยท
c0d2c2e
1
Parent(s):
0a49271
Update stickers.py
Browse files
Powers/plugins/stickers.py
CHANGED
@@ -80,6 +80,7 @@ async def kang(c:Gojo, m: Message):
|
|
80 |
edit_ = await msg.reply_text("No emoji provided choosing a random emoji")
|
81 |
ran = ["๐คฃ", "๐", "๐", "๐", "๐ฅ", "๐", "๐", "๐", "๐", "๐ฑ", "โบ๏ธ", "๐", "๐", "๐คง", "๐", "๐ฌ", "๐คฉ", "๐", "๐", "๐ฅน", "๐ฅบ", "๐ซฅ", "๐", "๐ซก", "๐ซ ", "๐คซ", "๐", "๐ฅต", "๐ฅถ", "๐ค", "๐ก", "๐คฌ", "๐คฏ", "๐ฅด", "๐คข", "๐คฎ", "๐", "๐ฟ", "๐ฉ", "๐คก", "๐ซถ", "๐", "๐", "โ", "๐", "๐ซฐ", "๐ค", "๐", "๐", "๐", "๐บ", "๐ฉโโค๏ธโ๐โ๐ฉ", "๐ฉโโค๏ธโ๐โ๐จ","๐จโโค๏ธโ๐จ", "๐", "๐ฉโโค๏ธโ๐ฉ", "๐ฉโโค๏ธโ๐จ", "๐", "๐จโโค๏ธโ๐โ๐จ", "๐ช", "๐ด", "๐ญ", "๐ฅธ", "๐ค", "๐ซค", "๐ฎ", "๐ง", "๐ฒ", "๐ฅฑ", "๐", "๐ฟ", "๐ค", "๐พ", "๐", "๐ฅด", "๐ฅฐ", "๐", "๐คฃ" ,"๐", "๐", "๐"]
|
82 |
sticker_emoji = choice(ran)
|
|
|
83 |
await msg.edit_text(f"Makeing a sticker with {sticker_emoji} emoji")
|
84 |
|
85 |
# Get the corresponding fileid, resize the file if necessary
|
@@ -114,7 +115,6 @@ async def kang(c:Gojo, m: Message):
|
|
114 |
),
|
115 |
sticker_emoji
|
116 |
)
|
117 |
-
await edit_.delete()
|
118 |
os.remove(path)
|
119 |
elif m.reply_to_message.sticker:
|
120 |
sticker = await create_sticker(
|
@@ -315,4 +315,4 @@ __HELP__ = """
|
|
315 |
**Note**
|
316 |
mmf and getsticker only support photo and normal stickers for now.
|
317 |
|
318 |
-
"""
|
|
|
80 |
edit_ = await msg.reply_text("No emoji provided choosing a random emoji")
|
81 |
ran = ["๐คฃ", "๐", "๐", "๐", "๐ฅ", "๐", "๐", "๐", "๐", "๐ฑ", "โบ๏ธ", "๐", "๐", "๐คง", "๐", "๐ฌ", "๐คฉ", "๐", "๐", "๐ฅน", "๐ฅบ", "๐ซฅ", "๐", "๐ซก", "๐ซ ", "๐คซ", "๐", "๐ฅต", "๐ฅถ", "๐ค", "๐ก", "๐คฌ", "๐คฏ", "๐ฅด", "๐คข", "๐คฎ", "๐", "๐ฟ", "๐ฉ", "๐คก", "๐ซถ", "๐", "๐", "โ", "๐", "๐ซฐ", "๐ค", "๐", "๐", "๐", "๐บ", "๐ฉโโค๏ธโ๐โ๐ฉ", "๐ฉโโค๏ธโ๐โ๐จ","๐จโโค๏ธโ๐จ", "๐", "๐ฉโโค๏ธโ๐ฉ", "๐ฉโโค๏ธโ๐จ", "๐", "๐จโโค๏ธโ๐โ๐จ", "๐ช", "๐ด", "๐ญ", "๐ฅธ", "๐ค", "๐ซค", "๐ฎ", "๐ง", "๐ฒ", "๐ฅฑ", "๐", "๐ฟ", "๐ค", "๐พ", "๐", "๐ฅด", "๐ฅฐ", "๐", "๐คฃ" ,"๐", "๐", "๐"]
|
82 |
sticker_emoji = choice(ran)
|
83 |
+
await edit_.delete()
|
84 |
await msg.edit_text(f"Makeing a sticker with {sticker_emoji} emoji")
|
85 |
|
86 |
# Get the corresponding fileid, resize the file if necessary
|
|
|
115 |
),
|
116 |
sticker_emoji
|
117 |
)
|
|
|
118 |
os.remove(path)
|
119 |
elif m.reply_to_message.sticker:
|
120 |
sticker = await create_sticker(
|
|
|
315 |
**Note**
|
316 |
mmf and getsticker only support photo and normal stickers for now.
|
317 |
|
318 |
+
"""
|