This commit is contained in:
levina 2021-12-11 15:48:25 +07:00 committed by GitHub
parent fbf4c2116d
commit 66922aeabd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ async def update_admin(client, message):
new_admins.append(u.user.id)
admins[message.chat.id] = new_admins
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:
await call_py.leave_group_call(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:
await m.reply(f"🚫 **error:**\n\n`{e}`")
else:
await m.reply("❌ **nothing in streaming**")
await m.reply("❌ **nothing is streaming**")
@Client.on_message(