From a4a683b18e507297e9131abc7205d8de871f28da Mon Sep 17 00:00:00 2001 From: Hamlet Date: Wed, 29 May 2024 21:20:32 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bot/callback.py | 1 - src/main.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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)