Add alias to remind
This commit is contained in:
parent
07052fc278
commit
008dcda98f
|
@ -113,7 +113,7 @@ class Remind(ModuleBase):
|
||||||
replyTo = prefixObj.nick if not "#" in args[0] else args[0]
|
replyTo = prefixObj.nick if not "#" in args[0] else args[0]
|
||||||
|
|
||||||
# Lots of code borrowed from https://github.com/embolalia/willie/blob/master/willie/modules/remind.py
|
# Lots of code borrowed from https://github.com/embolalia/willie/blob/master/willie/modules/remind.py
|
||||||
cmd = self.bot.messageHasCommand(".at", trailing, True)
|
cmd = self.bot.messageHasCommand([".at", ".remind"], trailing, True)
|
||||||
if cmd:
|
if cmd:
|
||||||
regex = re.compile(r'(\d+):(\d+)(?::(\d+))?([^\s\d]+)? (.*)')
|
regex = re.compile(r'(\d+):(\d+)(?::(\d+))?([^\s\d]+)? (.*)')
|
||||||
match = regex.match(cmd.args_str)
|
match = regex.match(cmd.args_str)
|
||||||
|
|
Loading…
Reference in New Issue