This commit is contained in:
Danish
2021-03-16 00:28:57 +05:30
committed by GitHub
parent 8931530658
commit ba44cd5a2d

View File

@@ -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")