randydev commited on
Commit
1e275e4
·
verified ·
1 Parent(s): 28ea335

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/chat.py +1 -1
chatbot/plugins/chat.py CHANGED
@@ -79,7 +79,7 @@ async def startbot(client: Client, message: Message):
79
 
80
 
81
  @Client.on_message(
82
- ~filters.scheduled
83
  & filters.command(["ask"])
84
  & ~filters.forwarded
85
  )
 
79
 
80
 
81
  @Client.on_message(
82
+ (filters.private | filters.group)
83
  & filters.command(["ask"])
84
  & ~filters.forwarded
85
  )