From e113ec23d9b8387d799f3c48bb276c56a9f2fa51 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 9 Aug 2018 15:16:35 +0100 Subject: [PATCH] Add help strings for stats.py --- modules/stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/stats.py b/modules/stats.py index 7318ea5c..2f0953b5 100644 --- a/modules/stats.py +++ b/modules/stats.py @@ -5,9 +5,9 @@ class Module(object): self.boot_time = time.time() self.bot = bot bot.events.on("received").on("command").on("uptime" - ).hook(self.uptime) + ).hook(self.uptime, help="Show my uptime") bot.events.on("received").on("command").on("stats" - ).hook(self.stats) + ).hook(self.stats, help="Show my network/channel/user stats") def uptime(self, event): seconds = int(time.time()-self.boot_time)