diff --git a/AlexaMusic/core/call.py b/AlexaMusic/core/call.py index e5746340..942603f6 100644 --- a/AlexaMusic/core/call.py +++ b/AlexaMusic/core/call.py @@ -14,7 +14,7 @@ from typing import Union from pyrogram import Client -from pyrogram.errors import FloodWait +from pyrogram.errors import FloodWait, ChatAdminRequired from pyrogram.types import InlineKeyboardMarkup from pytgcalls import PyTgCalls @@ -51,6 +51,9 @@ from AlexaMusic.utils.theme import check_theme from strings import get_string +autoend = {} +counter = {} + async def _clear_(chat_id): db[chat_id] = []