Make hosts command general
This commit is contained in:
parent
3911f707b2
commit
b213690a3f
1 changed files with 2 additions and 1 deletions
|
|
@ -33,13 +33,14 @@ class InfoBot(yaboli.Bot):
|
||||||
await self.command_detail(room, message, command)
|
await self.command_detail(room, message, command)
|
||||||
|
|
||||||
await self.command_help(room, message, command, argstr)
|
await self.command_help(room, message, command, argstr)
|
||||||
await self.command_hosts(room, message, command, argstr)
|
|
||||||
|
|
||||||
async def on_command_general(self, room, mesage, command, argstr):
|
async def on_command_general(self, room, mesage, command, argstr):
|
||||||
if not argstr:
|
if not argstr:
|
||||||
await self.botrulez_ping(room, message, command)
|
await self.botrulez_ping(room, message, command)
|
||||||
await self.botrulez_help(room, message, command, text="I count the types of clients in my nick")
|
await self.botrulez_help(room, message, command, text="I count the types of clients in my nick")
|
||||||
|
|
||||||
|
await self.command_hosts(room, message, command, argstr)
|
||||||
|
|
||||||
@yaboli.command("help")
|
@yaboli.command("help")
|
||||||
async def command_help(self, room, message, argstr):
|
async def command_help(self, room, message, argstr):
|
||||||
nick = mention(room.session.nick)
|
nick = mention(room.session.nick)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue