Spaces:
Running
Running
Update akn/utils/expired_bot.py
Browse files- akn/utils/expired_bot.py +0 -2
akn/utils/expired_bot.py
CHANGED
@@ -83,8 +83,6 @@ async def watch_do_time(user_id, client, assistant):
|
|
83 |
client_name=exp_obj.user_client.client_name,
|
84 |
disconnected=True
|
85 |
)
|
86 |
-
await db.remove_expired_date(user_id=exp_obj.user_id)
|
87 |
-
await db.remove_bot_token_magic(user_id=exp_obj.user_id)
|
88 |
LOGS.info(f"bot {exp_obj.username} has expired")
|
89 |
break
|
90 |
else:
|
|
|
83 |
client_name=exp_obj.user_client.client_name,
|
84 |
disconnected=True
|
85 |
)
|
|
|
|
|
86 |
LOGS.info(f"bot {exp_obj.username} has expired")
|
87 |
break
|
88 |
else:
|