1
0
mirror of https://github.com/civsocit/olgram.git synced 2025-05-24 20:23:25 +00:00
This commit is contained in:
mihalin 2021-09-10 01:37:02 +03:00
parent 1205eece56
commit d14292cf23

View File

@ -107,7 +107,7 @@ async def bot_added(message: types.Message, state: FSMContext):
except IntegrityError: except IntegrityError:
return await on_duplication_bot() return await on_duplication_bot()
if not register_token(bot): if not await register_token(bot):
await bot.delete() await bot.delete()
return await on_unknown_error() return await on_unknown_error()