From d14292cf234910f1cee987282820256c43613bdf Mon Sep 17 00:00:00 2001 From: mihalin Date: Fri, 10 Sep 2021 01:37:02 +0300 Subject: [PATCH] test --- olgram/commands/bots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olgram/commands/bots.py b/olgram/commands/bots.py index ae04c31..77d533d 100644 --- a/olgram/commands/bots.py +++ b/olgram/commands/bots.py @@ -107,7 +107,7 @@ async def bot_added(message: types.Message, state: FSMContext): except IntegrityError: return await on_duplication_bot() - if not register_token(bot): + if not await register_token(bot): await bot.delete() return await on_unknown_error()