Add help strings for stats.py

This commit is contained in:
jesopo 2018-08-09 15:16:35 +01:00
parent 4502256263
commit e113ec23d9

View file

@ -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)