Update chatbot/plugins/chat.py
Browse files- chatbot/plugins/chat.py +1 -1
chatbot/plugins/chat.py
CHANGED
@@ -83,7 +83,7 @@ I am ready to be a gemini bot developer
|
|
83 |
async def cancel_(client, callback_query):
|
84 |
try:
|
85 |
spam_chats.clear()
|
86 |
-
await callback_query.edit_message_text("ok cancel")
|
87 |
except Exception as e:
|
88 |
await callback_query.answer(f"Nothing cancel: {e}")
|
89 |
|
|
|
83 |
async def cancel_(client, callback_query):
|
84 |
try:
|
85 |
spam_chats.clear()
|
86 |
+
return await callback_query.edit_message_text("ok cancel")
|
87 |
except Exception as e:
|
88 |
await callback_query.answer(f"Nothing cancel: {e}")
|
89 |
|