227e5fda27
- S113: Add timeout=10 to all requests calls (74 fixes) - E722: Replace bare except: with except Exception: - B904: Replace redundant re-raise with bare raise - E402: Add noqa for intentional late imports after import_library() - S102/S307/S310/S311/S603/S605/S606/S607/S108: Add noqa for intentional usage - F601: Fix duplicate dict key in unsplash.py - N802: Rename ReplyCheck -> reply_check with backward compat alias - N813: Rename bs -> BS in icons.py - B007/B020: Rename loop var _j in animations.py - SIM102: Collapse nested if in autofwd.py - SIM113: Use enumerate() in calculator.py - A002: Add noqa for builtin shadowing in admlist.py - F811: Add noqa for cohere redefinition - edu_master: Fix ARG001, S108, S110, SIM117, apply --unsafe-fixes - Add modules_list.txt with full module inventory
466 lines
90 KiB
Python
466 lines
90 KiB
Python
import asyncio
|
||
from collections import deque
|
||
|
||
from pyrogram import Client, enums, filters
|
||
from pyrogram.types import Message
|
||
from utils.misc import modules_help, prefix
|
||
|
||
mention = 'Moon'
|
||
|
||
|
||
@Client.on_message(filters.command('stupid', prefix) & filters.me)
|
||
async def stupid(_, message: Message):
|
||
animation_interval = 0.5
|
||
animation_ttl = range(0, 14)
|
||
await message.edit_text('stupid boy')
|
||
animation_chars = [
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^)🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^) 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^) 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^) 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^) 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠< (^_^ <) 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n(> ^_^)>🧠 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠 🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🗑',
|
||
'<b>YOUR BRAIN</b> ➡️ 🧠\n\n < (^_^ <)🗑',
|
||
]
|
||
|
||
for i in animation_ttl:
|
||
await asyncio.sleep(animation_interval)
|
||
await message.edit_text(animation_chars[i % 14], parse_mode=enums.ParseMode.HTML)
|
||
|
||
|
||
@Client.on_message(filters.command('bombs', prefix) & filters.me)
|
||
async def bombs(_, message: Message):
|
||
|
||
await message.edit_text('▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n')
|
||
await asyncio.sleep(0.5)
|
||
await message.edit_text('💣💣💣💣 \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n')
|
||
await asyncio.sleep(0.5)
|
||
await message.edit_text('▪️▪️▪️▪️ \n💣💣💣💣 \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n')
|
||
await asyncio.sleep(0.5)
|
||
await message.edit_text('▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💣💣💣💣 \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n')
|
||
await asyncio.sleep(0.5)
|
||
await message.edit_text('▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💣💣💣💣 \n▪️▪️▪️▪️ \n')
|
||
await asyncio.sleep(0.5)
|
||
await message.edit_text('▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💣💣💣💣 \n')
|
||
await asyncio.sleep(1)
|
||
await message.edit_text('▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💥💥💥💥 \n')
|
||
await asyncio.sleep(0.5)
|
||
await message.edit_text('▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💥💥💥💥 \n💥💥💥💥 \n')
|
||
await asyncio.sleep(0.5)
|
||
await message.edit_text('▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n😵😵😵😵 \n')
|
||
await asyncio.sleep(0.5)
|
||
await message.edit_text('<b>RIP PLOXXX......</b>')
|
||
await asyncio.sleep(2)
|
||
|
||
|
||
@Client.on_message(filters.command('call', prefix) & filters.me)
|
||
async def cell(_, message: Message):
|
||
|
||
animation_interval = 3
|
||
animation_ttl = range(0, 18)
|
||
await message.edit_text('Calling Pavel Durov (ceo of telegram)......')
|
||
animation_chars = [
|
||
'<b>Connecting To Telegram Headquarters...</b>',
|
||
'<b>Call Connected.</b>',
|
||
'<b>Telegram: Hello This is Telegram HQ. Who is this?</b>',
|
||
'<b>Me: Yo this is Moon ,Please Connect me to my lil bro,Pavel Durov </b>',
|
||
'<b>User Authorised.</b>',
|
||
'<b>Calling Shivamani </b> <code>At +916969696969</code>',
|
||
'<b>Private Call Connected...</b>',
|
||
'<b>Me: Hello Sir, Please Ban This Telegram Account.</b>',
|
||
'<b>Shivamani : May I Know Who Is This?</b>',
|
||
'<b>Me: Yo Brah, I Am Moon</b>',
|
||
"<b>Shivamani : OMG!!! Long time no see, Wassup cat...\nI'll Make Sure That Guy Account Will Get Blocked Within 24Hrs.</b>",
|
||
'<b>Me: Thanks, See You Later Brah.</b>',
|
||
"<b>Shivamani : Please Don't Thank Brah, Telegram Is Our's. Just Gimme A Call When You Become Free.</b>",
|
||
'<b>Me: Is There Any Issue/Emergency???</b>',
|
||
'<b>Shivamani : Yes Sur, There Is A Bug In Telegram v69.6.9.\nI Am Not Able To Fix It. If Possible, Please Help Fix The Bug.</b>',
|
||
'<b>Me: Send Me The App On My Telegram Account, I Will Fix The Bug & Send You.</b>',
|
||
'<b>Shivamani : Sure Sur \nTC Bye Bye :)</b>',
|
||
'<b>Private Call Disconnected.</b>',
|
||
]
|
||
for i in animation_ttl:
|
||
await asyncio.sleep(animation_interval)
|
||
await message.edit_text(animation_chars[i % 18])
|
||
|
||
|
||
@Client.on_message(filters.command('wtf', prefix) & filters.me)
|
||
async def wtf(_, message: Message):
|
||
|
||
animation_interval = 0.8
|
||
animation_ttl = range(0, 5)
|
||
await message.edit_text('wtf')
|
||
animation_chars = [
|
||
'What',
|
||
'What The',
|
||
'What The F',
|
||
'What The F Brah',
|
||
'What The F Brah\nhttps://telegra.ph//file/f3b760e4a99340d331f9b.jpg',
|
||
]
|
||
for i in animation_ttl:
|
||
await asyncio.sleep(animation_interval)
|
||
await message.edit_text(animation_chars[i % 5], parse_mode=enums.ParseMode.HTML)
|
||
|
||
|
||
@Client.on_message(filters.command('ding', prefix) & filters.me)
|
||
async def ding(_, message: Message):
|
||
animation_interval = 0.3
|
||
animation_ttl = range(0, 30)
|
||
animation_chars = [
|
||
'🔴⬛⬛⬜⬜\n⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜',
|
||
'⬜⬜⬛⬜⬜\n⬜⬛⬜⬜⬜\n🔴⬜⬜⬜⬜',
|
||
'⬜⬜⬛⬜⬜\n⬜⬜⬛⬜⬜\n⬜⬜🔴⬜⬜',
|
||
'⬜⬜⬛⬜⬜\n⬜⬜⬜⬛⬜\n⬜⬜⬜⬜🔴',
|
||
'⬜⬜⬛⬛🔴\n⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜',
|
||
'⬜⬜⬛⬜⬜\n⬜⬜⬜⬛⬜\n⬜⬜⬜⬜🔴',
|
||
'⬜⬜⬛⬜⬜\n⬜⬜⬛⬜⬜\n⬜⬜🔴⬜⬜',
|
||
'⬜⬜⬛⬜⬜\n⬜⬛⬜⬜⬜\n🔴⬜⬜⬜⬜',
|
||
'🔴⬛⬛⬜⬜\n⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜',
|
||
'⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜\n⬜ Moon IS BEST ⬜\n⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜',
|
||
]
|
||
|
||
await message.edit_text('ding..dong..ding..dong ...')
|
||
await asyncio.sleep(4)
|
||
for i in animation_ttl:
|
||
await asyncio.sleep(animation_interval)
|
||
await message.edit_text(animation_chars[i % 10], parse_mode=enums.ParseMode.HTML)
|
||
|
||
|
||
@Client.on_message(filters.command('hypo', prefix) & filters.me)
|
||
async def hypo(_, message: Message):
|
||
animation_interval = 0.3
|
||
animation_ttl = range(0, 15)
|
||
await message.edit_text('hypo....')
|
||
animation_chars = [
|
||
'⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜',
|
||
'⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬛⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜',
|
||
'⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬛⬛⬛⬜⬜\n⬜⬜⬛⬜⬛⬜⬜\n⬜⬜⬛⬛⬛⬜⬜\n⬜⬜⬜⬜⬜⬜⬜\n⬜⬜⬜⬜⬜⬜⬜',
|
||
'⬜⬜⬜⬜⬜⬜⬜\n⬜⬛⬛⬛⬛⬛⬜\n⬜⬛⬜⬜⬜⬛⬜\n⬜⬛⬜⬜⬜⬛⬜\n⬜⬛⬜⬜⬜⬛⬜\n⬜⬛⬛⬛⬛⬛⬜\n⬜⬜⬜⬜⬜⬜⬜',
|
||
'⬛⬛⬛⬛⬛⬛⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬛⬛⬛⬛',
|
||
'⬛⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜⬛\n⬛⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜⬛\n⬛⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜⬛\n⬛⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜⬛',
|
||
'⬜⬛⬜⬛⬜⬛⬜⬛\n⬛⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜⬛\n⬛⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜⬛\n⬛⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜⬛\n⬛⬜⬛⬜⬛⬜⬛⬜',
|
||
'⬜⬜⬜⬜⬜⬜⬜\n⬜⬛⬛⬛⬛⬛⬜\n⬜⬛⬜⬜⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬜⬜⬛⬜\n⬜⬛⬛⬛⬛⬛⬜\n⬜⬜⬜⬜⬜⬜⬜',
|
||
'⬛⬛⬛⬛⬛⬛⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬜⬛⬛⬛⬜⬛\n⬛⬜⬛⬜⬛⬜⬛\n⬛⬜⬛⬛⬛⬜⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬛⬛⬛⬛',
|
||
'⬜⬜⬜⬜⬜⬜⬜\n⬜⬛⬛⬛⬛⬛⬜\n⬜⬛⬜⬜⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬜⬜⬛⬜\n⬜⬛⬛⬛⬛⬛⬜\n⬜⬜⬜⬜⬜⬜⬜',
|
||
'⬛⬛⬛⬛⬛⬛⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬜⬛⬛⬛⬜⬛\n⬛⬜⬛⬜⬛⬜⬛\n⬛⬜⬛⬛⬛⬜⬛\n⬛⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬛⬛⬛⬛',
|
||
'⬜⬜⬜⬜⬜⬜⬜\n⬜⬛⬛⬛⬛⬛⬜\n⬜⬛⬜⬜⬜⬛⬜\n⬜⬛⬜⬛⬜⬛⬜\n⬜⬛⬜⬜⬜⬛⬜\n⬜⬛⬛⬛⬛⬛⬜\n⬜⬜⬜⬜⬜⬜⬜',
|
||
'⬛⬛⬛⬛⬛\n⬛⬜⬜⬜⬛\n⬛⬜⬛⬜⬛\n⬛⬜⬜⬜⬛\n⬛⬛⬛⬛⬛',
|
||
'⬜⬜⬜\n⬜⬛⬜\n⬜⬜⬜',
|
||
'[👉🔴👈])',
|
||
]
|
||
for i in animation_ttl:
|
||
await asyncio.sleep(animation_interval)
|
||
await message.edit_text(animation_chars[i % 15])
|
||
|
||
|
||
@Client.on_message(filters.command('gangster', prefix) & filters.me)
|
||
async def gangster(_, message: Message):
|
||
await message.edit_text('EVERyBOdy')
|
||
await asyncio.sleep(0.3)
|
||
await message.edit_text('iZ')
|
||
await asyncio.sleep(0.2)
|
||
await message.edit_text('GangSTur')
|
||
await asyncio.sleep(0.5)
|
||
await message.edit_text('UNtIL ')
|
||
await asyncio.sleep(0.2)
|
||
await message.edit_text('I')
|
||
await asyncio.sleep(0.3)
|
||
await message.edit_text('ArRivE')
|
||
await asyncio.sleep(0.3)
|
||
await message.edit_text('🔥🔥🔥')
|
||
await asyncio.sleep(0.3)
|
||
await message.edit_text('EVERyBOdy iZ GangSTur UNtIL I ArRivE 🔥🔥🔥')
|
||
|
||
|
||
@Client.on_message(filters.command('charge', prefix) & filters.me)
|
||
async def timer_blankx(_, message: Message):
|
||
txt = (
|
||
message.text[10:]
|
||
+ '\n\n<b>Tesla Wireless Charging (beta) Started...\nDevice Detected: Apple iPad 13\nBattery Percentage:</b> '
|
||
)
|
||
j = 10
|
||
k = j
|
||
for _j in range(j):
|
||
await message.edit_text(txt + str(k), parse_mode=enums.ParseMode.HTML)
|
||
k = k + 10
|
||
await asyncio.sleep(1)
|
||
await asyncio.sleep(1)
|
||
await message.edit_text(
|
||
'<b>Tesla Wireless Charging (beta) Completed...\nDevice Detected: Apple iPad 13 (Space Grey Varient)\nBattery Percentage:</b> [100%](https://telegra.ph/file/a45aa7450c8eefed599d9.mp4) ',
|
||
link_preview=True,
|
||
parse_mode=enums.ParseMode.HTML,
|
||
)
|
||
|
||
|
||
@Client.on_message(filters.command('kill', prefix) & filters.me)
|
||
async def kill(_, message: Message):
|
||
animation_interval = 0.3
|
||
animation_ttl = range(0, 103)
|
||
animation_chars = [
|
||
'Fiiiiire',
|
||
'( ・ิω・ิ)︻デ═一-->',
|
||
'---->____________',
|
||
'------>__________',
|
||
'-------->_________',
|
||
'---------->_______',
|
||
'------------>_____',
|
||
'-------------->____',
|
||
'------------------>',
|
||
'------>;(^。^)ノ',
|
||
'( ̄ー ̄) DED',
|
||
'<b>Target killed successfully (°̥̥̥̥̥̥̥̥•̀.̫•́°̥̥̥̥̥̥̥)</b>',
|
||
]
|
||
|
||
await message.edit_text("You're goonnaa diieeeee!")
|
||
await asyncio.sleep(3)
|
||
for i in animation_ttl:
|
||
await asyncio.sleep(animation_interval)
|
||
await message.edit_text(animation_chars[i % 103], parse_mode=enums.ParseMode.HTML)
|
||
|
||
|
||
@Client.on_message(filters.command('earth', prefix) & filters.me)
|
||
async def earth(_, message: Message):
|
||
deq = deque(list('🌏🌍🌎🌎🌍🌏🌍🌎'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('think', prefix) & filters.me)
|
||
async def think(_, message: Message):
|
||
deq = deque(list('🤔🧐🤔🧐🤔🧐'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('lmao', prefix) & filters.me)
|
||
async def lmao(_, message: Message):
|
||
deq = deque(list('😂🤣😂🤣😂🤣'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('clock', prefix) & filters.me)
|
||
async def clock(_, message: Message):
|
||
deq = deque(list('🕙🕘🕗🕖🕕🕔🕓🕒🕑🕐🕛'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('heart', prefix) & filters.me)
|
||
async def heart(_, message: Message):
|
||
deq = deque(list('❤️🧡💛💚💙💜🖤'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('gym', prefix) & filters.me)
|
||
async def gym(_, message: Message):
|
||
deq = deque(list('🏃🏋🤸🏃🏋🤸🏃🏋🤸'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('moon', prefix) & filters.me)
|
||
async def moon(_, message: Message):
|
||
deq = deque(list('🌗🌘🌑🌒🌓🌔🌕🌖'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('stars', prefix) & filters.me)
|
||
async def stars(_, message: Message):
|
||
deq = deque(list('🦋✨🦋✨🦋✨🦋✨'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('boxs', prefix) & filters.me)
|
||
async def boxs(_, message: Message):
|
||
deq = deque(list('🟥🟧🟨🟩🟦🟪🟫⬛⬜'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('rain', prefix) & filters.me)
|
||
async def rain(_, message: Message):
|
||
deq = deque(list('🌬☁️🌩🌨🌧🌦🌥⛅🌤'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('bird', prefix) & filters.me)
|
||
async def bird(_, message: Message):
|
||
deq = deque(list('𓅰𓅬𓅭𓅮𓅯'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('fish', prefix) & filters.me)
|
||
async def fish(_, message: Message):
|
||
deq = deque(list('𓆝𓆟𓆞𓆝𓆟'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('goat', prefix) & filters.me)
|
||
async def goat(_, message: Message):
|
||
deq = deque(list('𓃖𓃗𓃘𓃙𓃚𓃛𓃜'))
|
||
for _ in range(48):
|
||
await asyncio.sleep(0.1)
|
||
await message.edit_text(''.join(deq))
|
||
deq.rotate(1)
|
||
|
||
|
||
@Client.on_message(filters.command('smoon', prefix) & filters.me)
|
||
async def smoon(_, message: Message):
|
||
animation_interval = 0.2
|
||
animation_ttl = range(101)
|
||
animation_chars = [
|
||
'🌗🌗🌗🌗🌗\n🌓🌓🌓🌓🌓\n🌗🌗🌗🌗🌗\n🌓🌓🌓🌓🌓\n🌗🌗🌗🌗🌗',
|
||
'🌘🌘🌘🌘🌘\n🌔🌔🌔🌔🌔\n🌘🌘🌘🌘🌘\n🌔🌔🌔🌔🌔\n🌘🌘🌘🌘🌘',
|
||
'🌑🌑🌑🌑🌑\n🌕🌕🌕🌕🌕\n🌑🌑🌑🌑🌑\n🌕🌕🌕🌕🌕\n🌑🌑🌑🌑🌑',
|
||
'🌒🌒🌒🌒🌒\n🌖🌖🌖🌖🌖\n🌒🌒🌒🌒🌒\n🌖🌖🌖🌖🌖\n🌒🌒🌒🌒🌒',
|
||
'🌓🌓🌓🌓🌓\n🌗🌗🌗🌗🌗\n🌓🌓🌓🌓🌓\n🌗🌗🌗🌗🌗\n🌓🌓🌓🌓🌓',
|
||
'🌔🌔🌔🌔🌔\n🌘🌘🌘🌘🌘\n🌔🌔🌔🌔🌔\n🌘🌘🌘🌘🌘\n🌔🌔🌔🌔🌔',
|
||
'🌕🌕🌕🌕🌕\n🌑🌑🌑🌑🌑\n🌕🌕🌕🌕🌕\n🌑🌑🌑🌑🌑\n🌕🌕🌕🌕🌕',
|
||
'🌖🌖🌖🌖🌖\n🌒🌒🌒🌒🌒\n🌖🌖🌖🌖🌖\n🌒🌒🌒🌒🌒\n🌖🌖🌖🌖🌖',
|
||
]
|
||
|
||
await message.edit_text('smoon...')
|
||
await asyncio.sleep(3)
|
||
for i in animation_ttl:
|
||
await asyncio.sleep(animation_interval)
|
||
await message.edit_text(animation_chars[i % 8])
|
||
|
||
|
||
@Client.on_message(filters.command('deploy', prefix) & filters.me)
|
||
async def deploy(_, message: Message):
|
||
animation_interval = 3
|
||
animation_ttl = range(101)
|
||
animation_chars = [
|
||
'<b>Heroku Connecting To Latest Github Build </b>',
|
||
f'<b>Build started by user</b> {mention}',
|
||
f'<b>Deploy</b> <code>535a74f0</code> <b>by user</b> {mention}',
|
||
'<b>Restarting Heroku Server...</b>',
|
||
'<b>State changed from up to starting</b>',
|
||
'<b>Stopping all processes with SIGTERM</b>',
|
||
'<b>Process exited with</b> <code>status 143</code>',
|
||
'<b>Starting process with command</b> <code>python3 -m userbot</code>',
|
||
'<b>State changed from starting to up</b>',
|
||
'<u>INFO:Userbot:Logged in as 557667062</u>',
|
||
'<u>INFO:Userbot:Successfully loaded all plugins</u>',
|
||
'<b>Build Succeeded</b>',
|
||
]
|
||
|
||
await message.edit_text('<code>Deploying...</code>', parse_mode=enums.ParseMode.HTML)
|
||
await asyncio.sleep(3)
|
||
for i in animation_ttl:
|
||
await asyncio.sleep(animation_interval)
|
||
await message.edit_text(animation_chars[i % 12], parse_mode=enums.ParseMode.HTML)
|
||
|
||
|
||
@Client.on_message(filters.command('tmoon', prefix) & filters.me)
|
||
async def tmoon(_, message: Message):
|
||
animation_interval = 0.2
|
||
animation_ttl = range(96)
|
||
animation_chars = [
|
||
'🌗',
|
||
'🌘',
|
||
'🌑',
|
||
'🌒',
|
||
'🌓',
|
||
'🌔',
|
||
'🌕',
|
||
'🌖',
|
||
'🌗',
|
||
'🌘',
|
||
'🌑',
|
||
'🌒',
|
||
'🌓',
|
||
'🌔',
|
||
'🌕',
|
||
'🌖',
|
||
'🌗',
|
||
'🌘',
|
||
'🌑',
|
||
'🌒',
|
||
'🌓',
|
||
'🌔',
|
||
'🌕',
|
||
'🌖',
|
||
'🌗',
|
||
'🌘',
|
||
'🌑',
|
||
'🌒',
|
||
'🌓',
|
||
'🌔',
|
||
'🌕',
|
||
'🌖',
|
||
]
|
||
|
||
await message.edit_text('tmoon...')
|
||
await asyncio.sleep(3)
|
||
for i in animation_ttl:
|
||
await asyncio.sleep(animation_interval)
|
||
await message.edit_text(animation_chars[i % 32])
|
||
|
||
|
||
modules_help['animations'] = {
|
||
'stupid': ' stupid animation',
|
||
'gangster': 'YO! Gangster animation',
|
||
'hypo': 'checkout yourself ~_+',
|
||
'charge': 'Apple iPad charging animation',
|
||
'ding': 'ding.dong.ding animation',
|
||
'wtf': 'wtf animation must use if you want tell wtf',
|
||
'call': 'call to durov',
|
||
'bombs': 'bombing animation',
|
||
'kill': 'fireee animation = target killed ~_- ',
|
||
'deploy': 'Fake heroku deploy animation',
|
||
'gym': 'Fun animation try yourself to know more',
|
||
'boxs': 'Fun animation try yourself to know more',
|
||
'stars': 'Fun animation try yourself to know more',
|
||
'goat': 'Fun animation try yourself to know more',
|
||
'bird': 'Fun animation try yourself to know more',
|
||
'rain': 'Fun animation try yourself to know more',
|
||
'fish': 'Fun animation try yourself to know more',
|
||
'heart': 'Fun animation try yourself to know more',
|
||
'clock': 'Fun animation try yourself to know more',
|
||
'lmao': 'Fun animation try yourself to know more',
|
||
'think': 'Fun animation try yourself to know more',
|
||
'earth': 'Fun animation try yourself to know more',
|
||
'moon': 'Fun animation try yourself to know more',
|
||
'smoon': 'Fun animation try yourself to know more',
|
||
'tmoon': 'Fun animation try yourself to know more',
|
||
}
|