fix response string detection
This commit is contained in:
parent
0f8277f695
commit
7295306107
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class DudleBot:
|
|||
update.message.reply_text("No plan created yet! (Speak /newplan to do so.)")
|
||||
return
|
||||
|
||||
responses_str = update.message.text[len("/plan"):]
|
||||
responses_str = " ".join(update.message.text.split(" ")[1:])
|
||||
responses_str = re.sub(r'[^A-Za-z?]', '', responses_str)
|
||||
responses_str = [char.upper() for char in responses_str]
|
||||
|
||||
|
|
Loading…
Reference in a new issue