aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-09 15:16:35 +0100
committerGravatar jesopo2018-08-09 15:16:35 +0100
commite113ec23d9b8387d799f3c48bb276c56a9f2fa51 (patch)
treeb18ec65304e1a31233042f1bd07dfe7174317fbd /modules
parentFix wrong method of referencing server in timer callback (diff)
signature
Add help strings for stats.py
Diffstat (limited to 'modules')
-rw-r--r--modules/stats.py4
1 files 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)