From 5c43e40d8f4ac0a0a5376407232a7a94a2af3c85 Mon Sep 17 00:00:00 2001
From: yasirarism <55983182+yasirarism@users.noreply.github.com>
Date: Mon, 29 May 2023 14:26:23 +0000
Subject: [PATCH] typo :
---
misskaty/plugins/dev.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misskaty/plugins/dev.py b/misskaty/plugins/dev.py
index 3098f612..f38a2205 100644
--- a/misskaty/plugins/dev.py
+++ b/misskaty/plugins/dev.py
@@ -314,7 +314,7 @@ async def update_restart(self: Client, ctx: Message, strings) -> "Message":
async def updtebot(client, update, users, chats):
if isinstance(update, UpdateBotStopped):
user = users[update.user_id]
- if update.stopped and await db.is_user_exist(user.id)::
+ if update.stopped and await db.is_user_exist(user.id):
await db.delete_user(user.id)
await client.send_msg(LOG_CHANNEL, f"{user.first_name} ({user.id}) " f"{'BLOCKED' if update.stopped else 'UNBLOCKED'} the bot at " f"{datetime.fromtimestamp(update.date)}")