ur regex is 2 dum
Closed this issue · 1 comments
togakangaroo commented
@respond_to("store-contact(.*)",re.IGNORECASE)
def storeContact(message,contactString):
...
@respond_to("emergency (.*)",re.IGNORECASE)
def emergency(message,targetUserNameOrId):
If the user says store-contact my emergency services number is xxx xxx xxxx
then both regular expressions match and therefore both run.
sohail-surge commented
Putting it in 0.1 because it could potentially cause issues.