diff --git a/warbot.py b/warbot.py index 177eb8e..d868e0c 100755 --- a/warbot.py +++ b/warbot.py @@ -158,6 +158,11 @@ class WarBot(irc.IRCClient): Called when the bot receives a PRIVMSG, which can come from channels or users alike. """ + if message == ".help": + cmds = [".help", ".alerts", ".subscribe", ".unsubscribe", + ".update_data", ".cetus"] + cmds.sort() + self.msg(channel, ", ".join(cmds)) if message == ".alerts": self.alert_ids = [] self.checkNewAlerts(channel)