aboutsummaryrefslogtreecommitdiff
path: root/modules/stats.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-30 17:29:09 +0100
committerGravatar jesopo2018-09-30 17:29:09 +0100
commit10ef985a8a849a6bbfa8cbb63c2548e42ffb3957 (patch)
tree4da29ff0462ca69820d81aa95afb4b261ab3213c /modules/stats.py
parentreceived.command takes a final [command] part (diff)
signature
Switch to using docstring for usage, permission and require_mode
Diffstat (limited to 'modules/stats.py')
-rw-r--r--modules/stats.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/stats.py b/modules/stats.py
index 5cf78a54..4da48709 100644
--- a/modules/stats.py
+++ b/modules/stats.py
@@ -5,7 +5,7 @@ class Module(ModuleManager.BaseModule):
@Utils.hook("received.command.uptime")
def uptime(self, event):
"""
- Show my uptime
+ :help: Show my uptime
"""
seconds = int(time.time()-self.bot.start_time)
event["stdout"].write("Uptime: %s" % Utils.to_pretty_time(
@@ -14,7 +14,7 @@ class Module(ModuleManager.BaseModule):
@Utils.hook("received.command.stats")
def stats(self, event):
"""
- Show my network/channel/user stats
+ :help: Show my network/channel/user stats
"""
networks = len(self.bot.servers)
channels = 0