diff --git a/src/bot/callback.py b/src/bot/callback.py index f1706ae..8bda16a 100644 --- a/src/bot/callback.py +++ b/src/bot/callback.py @@ -845,4 +845,3 @@ def levelup_callback(call: CallbackQuery): bot.edit_message_reply_markup( call.message.chat.id, call.message.id, reply_markup=None ) - diff --git a/src/main.py b/src/main.py index c44baab..dc9daf1 100644 --- a/src/main.py +++ b/src/main.py @@ -68,7 +68,7 @@ def main(): bot_commands_init() init_middlewars() init_threads() - + bot.infinity_polling(timeout=500, skip_pending=True)