fixed .remind only remembering one word
This commit is contained in:
parent
1f77f1a88b
commit
9cb726ad9e
|
@ -138,7 +138,7 @@ def remind(bot, trigger):
|
||||||
if trigger.group(3) and not trigger.group(4):
|
if trigger.group(3) and not trigger.group(4):
|
||||||
reminder = ''
|
reminder = ''
|
||||||
else:
|
else:
|
||||||
reminder = trigger.group(4)
|
reminder = ' '.join(trigger.group[4:])
|
||||||
|
|
||||||
duration = 0
|
duration = 0
|
||||||
for n, group in enumerate(re.search(regex, trigger.group(3)).groups()):
|
for n, group in enumerate(re.search(regex, trigger.group(3)).groups()):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user