randydev commited on
Commit
0379c0c
·
verified ·
1 Parent(s): f289835

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/chat.py +1 -1
chatbot/plugins/chat.py CHANGED
@@ -80,7 +80,7 @@ I am ready to be a gemini bot developer
80
  """
81
 
82
  @Client.on_callback_query(filters.regex("^cancels"))
83
- def cancel_(client, callback_query):
84
  try:
85
  spam_chats.clear()
86
  await callback_query.edit_message_text("ok cancel")
 
80
  """
81
 
82
  @Client.on_callback_query(filters.regex("^cancels"))
83
+ async def cancel_(client, callback_query):
84
  try:
85
  spam_chats.clear()
86
  await callback_query.edit_message_text("ok cancel")