forked from aykhan026/MusicUserBot
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
resume.py
60 lines (50 loc) · 2.21 KB
/
resume.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Ballasresmi - MusicUserBot
# Burdan hər hansı modulu kodu faylı reponu
# Kopyalayan peysərdi..!!!!
# Sahib - @BOT_RAMO
import asyncio
from pyrogram import Client, filters
from pyrogram.types import Message
from ᴠᴏɪᴄᴇ_ɪᴅ.typos import *
from ᴠᴏɪᴄᴇ_ɪᴅ.vocal import *
from ɴᴏᴛᴇʙᴏᴏᴋ.notes import *
from ᴍɪꜱᴀ_ᴀᴍᴀɴᴇ.life_death import *
from ᴍɪꜱᴀ_ᴀᴍᴀɴᴇ.red_eye import *
"""
\____/ / \ \____/ / \ \____/ / \ \____/ / \ \____/ / \ \____/ /
/ __ \ \__/ / __ \ \__/ / __ \ \__/ / __ \ \__/ / __ \ \__/ / __ \ \_
"""
DYNO_COMMAND = Li.DYNO_COMMAND
@Client.on_message(demon_killer_sigki
& senzo_kryo_ni
& misa_misa
& filters.command("resume", prefixes=DYNO_COMMAND)
)
async def resume_playing(_, ryui: Message):
pwn = await ryui.reply_text("Sinxronzasiya olunur @Ballasresmi", True)
await pwn.edit_text("Serverlə əlaqə yaradılır...")
await pwn.edit_text("♻️ Yüklənir [░░░░░░ ]")
await pwn.edit_text("♻️ Yüklənir [░░░░░░░░░░░░ ]")
await pwn.edit_text("♻️ Yüklənir [░░░░░░░░░░░░░░░░░░░░]")
await pwn.delete()
hawk = await ryui.reply_text(
f"**▶️ Dayanan musiqini yenidən başlatdım**",
quote=False
)
ded.voice_chatting.resume_playout()
if ded.msg.get('pause') is not None:
await ded.msg['pause'].delete()
await ryui.delete()
await wait_before_rm((hawk, ryui), Kill_Time)
"+|==========================================🍁----------[-_-]----------🍁==============================================|+"
async def wait_before_rm(messages: tuple, delay: int):
await asyncio.sleep(delay)
for msg in messages:
await msg.delete()
"""
\__/ \__/ \__/ \__/ \__/
/ \ / \ / \ / \ / \
☠BOT_RAMO 😳
\__/ \__/ \__/ \__/ \__/
/ \ / \ / \ / \ / \
"""