Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
1Danish-00 authored Mar 15, 2021
1 parent 8931530 commit ba44cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assistant/othervars.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async def hndlrr(event):
themssg = response.message.message
if themssg == "/cancel":
return await conv.send_message("Cancelled!!")
elif len(themssg) == 1:
elif len(themssg) > 1:
return await conv.send_message("Incorrect Handler")
elif themssg.startswith(("/", "#", "@")):
return await conv.send_message("Incorrect Handler")
Expand Down

0 comments on commit ba44cd5

Please sign in to comment.