From b213690a3f110c1f279814e823881f8c6cfd2a61 Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 13 Aug 2018 09:12:04 +0000 Subject: [PATCH] Make hosts command general --- infobot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infobot.py b/infobot.py index d9b41a5..b0988c4 100644 --- a/infobot.py +++ b/infobot.py @@ -33,13 +33,14 @@ class InfoBot(yaboli.Bot): await self.command_detail(room, message, command) 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): if not argstr: 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.command_hosts(room, message, command, argstr) + @yaboli.command("help") async def command_help(self, room, message, argstr): nick = mention(room.session.nick)