Add alias to remind

This commit is contained in:
dave 2014-10-12 00:52:49 -07:00
parent 07052fc278
commit 008dcda98f
1 changed files with 1 additions and 1 deletions

View File

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