Make .help one line(for reducing spam)

This commit is contained in:
Ultracoolguy 2020-11-18 22:16:43 -04:00
parent f2c35a8c77
commit 26cb28e4e5
1 changed files with 1 additions and 5 deletions

6
bot.py
View File

@ -57,11 +57,7 @@ class Server(BaseServer):
await self.send(build("PRIVMSG", [chan, "Removed from match list."]))
elif line.params[1].startswith(".help"):
await self.send(build("PRIVMSG", [chan, "Matchmaking bot commands:"]))
await self.send(build("PRIVMSG", [chan, " .matchadd: Add yourself to the match list"]))
await self.send(build("PRIVMSG", [chan, " .matchdel: Remove yourself from the match list"]))
await self.send(build("PRIVMSG", [chan, " .matchmake: Ping everyone on match list"]))
await self.send(build("PRIVMSG", [chan, " .help: Display this message"]))
await self.send(build("PRIVMSG", [chan, " .matchadd: Add to list; .matchdel: Remove from list; .matchmake: Ping everyone on list"]))
async def line_send(self, line: Line):
print(f"{self.name} > {line.format()}")