none
This commit is contained in:
parent
fbf4c2116d
commit
66922aeabd
@ -34,7 +34,7 @@ async def update_admin(client, message):
|
|||||||
new_admins.append(u.user.id)
|
new_admins.append(u.user.id)
|
||||||
admins[message.chat.id] = new_admins
|
admins[message.chat.id] = new_admins
|
||||||
await message.reply_text(
|
await message.reply_text(
|
||||||
"✅ Bot **reloaded correctly !**\n✅ **Admin list** has been **updated !**"
|
"✅ Bot **reloaded correctly !**\n✅ **Admin list** has **updated !**"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -99,11 +99,11 @@ async def stop(client, m: Message):
|
|||||||
try:
|
try:
|
||||||
await call_py.leave_group_call(chat_id)
|
await call_py.leave_group_call(chat_id)
|
||||||
clear_queue(chat_id)
|
clear_queue(chat_id)
|
||||||
await m.reply("✅ **streaming has ended.**")
|
await m.reply("✅ The userbot has disconnected from the video chat.")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
await m.reply(f"🚫 **error:**\n\n`{e}`")
|
await m.reply(f"🚫 **error:**\n\n`{e}`")
|
||||||
else:
|
else:
|
||||||
await m.reply("❌ **nothing in streaming**")
|
await m.reply("❌ **nothing is streaming**")
|
||||||
|
|
||||||
|
|
||||||
@Client.on_message(
|
@Client.on_message(
|
||||||
|
Loading…
Reference in New Issue
Block a user