add help message
This commit is contained in:
parent
86933f1954
commit
13815e4264
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user