add help message

This commit is contained in:
iou1name 2019-11-05 08:08:23 -05:00
parent 86933f1954
commit 13815e4264

View File

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