Make .help one line(for reducing spam)
This commit is contained in:
parent
f2c35a8c77
commit
26cb28e4e5
6
bot.py
6
bot.py
|
@ -57,11 +57,7 @@ class Server(BaseServer):
|
||||||
await self.send(build("PRIVMSG", [chan, "Removed from match list."]))
|
await self.send(build("PRIVMSG", [chan, "Removed from match list."]))
|
||||||
|
|
||||||
elif line.params[1].startswith(".help"):
|
elif line.params[1].startswith(".help"):
|
||||||
await self.send(build("PRIVMSG", [chan, "Matchmaking bot commands:"]))
|
await self.send(build("PRIVMSG", [chan, " .matchadd: Add to list; .matchdel: Remove from list; .matchmake: Ping everyone on list"]))
|
||||||
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"]))
|
|
||||||
|
|
||||||
async def line_send(self, line: Line):
|
async def line_send(self, line: Line):
|
||||||
print(f"{self.name} > {line.format()}")
|
print(f"{self.name} > {line.format()}")
|
||||||
|
|
Loading…
Reference in New Issue