randydev commited on
Commit
51078d7
·
verified ·
1 Parent(s): 5cc34b4

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/chat.py +5 -0
chatbot/plugins/chat.py CHANGED
@@ -268,6 +268,11 @@ async def askcmd(client: Client, message: Message):
268
  except Exception as e:
269
  return await pro.edit_text(f"Error: {e}")
270
 
 
 
 
 
 
271
  @Client.on_message(
272
  filters.incoming
273
  & (
 
268
  except Exception as e:
269
  return await pro.edit_text(f"Error: {e}")
270
 
271
+
272
+ @Client.on_message(filters.text & filters.business)
273
+ async def bussines_bot(client: Client, message: Message):
274
+ LOGS.info(f"Updated: {message.text}")
275
+
276
  @Client.on_message(
277
  filters.incoming
278
  & (