TGDRIVE / utils

Commit History

Add MAIN_BOT_SESSION config to support mainbot.session file
cdb5090

dragxd commited on

Prevent restoring invalidated session files - mark and skip AUTH_KEY_DUPLICATED sessions
1f18aa5

dragxd commited on

Improve AUTH_KEY_DUPLICATED error message with clear fix instructions
f6f33ae

dragxd commited on

Add error handling for AUTH_KEY_DUPLICATED errors - detect and handle duplicate session usage
15cd0a4

dragxd commited on

Add error handling for main_bot connection failures - don't crash app
3738e83

dragxd commited on

Fix: Preserve .session files when resetting cache directory
5359a05

dragxd commited on

Add better logging for debugging BOT_SESSIONS/BOT_TOKENS configuration
4937ea3

dragxd commited on

Simplify bot client initialization - use type 'bot' instead of 'bot_session'
1ab2678

dragxd commited on

Fix string_session handler parameter
46ec269

dragxd commited on

Support BOT_SESSIONS with BOT_TOKENS - use session files if provided
f378241

dragxd commited on

Fix error message - BOT_TOKENS not BOT_SESSIONS
c38b6c5

dragxd commited on

Fix: Use BOT_TOKENS - Pyrogram handles session files automatically
b6ba437

dragxd commited on

Move bot.session to cache directory and update client code
ed0e2af

dragxd commited on

Use bot.session files instead of bot tokens
4833409

dragxd commited on

Add offline mode: Allow website to work without Telegram clients
eb0c315

dragxd commited on

Improve error logging with traceback for client initialization failures
3f36a01

dragxd commited on

Fix: Add safety checks in get_client() and improve error handling
86af1fa

dragxd commited on

Initial commit
e1a2a92

dragxd commited on