mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
test
This commit is contained in:
parent
1205eece56
commit
d14292cf23
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user