diff --git a/ubot.py b/ubot.py index 50ed678..5692d5d 100644 --- a/ubot.py +++ b/ubot.py @@ -60,7 +60,7 @@ class states: @logger.catch async def main(): - async with TelegramClient(sessdb, api_id, api_hash) as client: + async with TelegramClient(sessdb, api_id, api_hash, timeout=300) as client: client.parse_mode = "HTML" logger.success('User-Bot started') me = await client.get_me()