add support for !botlist

This commit is contained in:
randomuser 2021-07-11 18:01:23 +00:00
parent 735d07fb77
commit 4b9c7eba7b
1 changed files with 2 additions and 0 deletions

2
bot.py
View File

@ -52,6 +52,8 @@ class Server(BaseServer):
channel = line.params[0] channel = line.params[0]
if line.params[-1] == "!rollcall": if line.params[-1] == "!rollcall":
await self.msg(channel, helpmessage, user) await self.msg(channel, helpmessage, user)
if line.params[-1] == "!botlist":
await self.msg(channel, helpmessage, user)
if line.params[-1][0] == '%': if line.params[-1][0] == '%':
commands = line.params[-1][1:].split(' ') commands = line.params[-1][1:].split(' ')
if commands[0] == "score": if commands[0] == "score":