diff options
author | mathieui <mathieui@mathieui.net> | 2013-04-13 22:33:06 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-04-13 22:33:06 +0200 |
commit | d676c2ee7b6207ff0b2a7b384052ab07c08bf43a (patch) | |
tree | b6c22d35da1eb5bc33ab0cc983a86d8dfe6c2a78 /plugins/uptime.py | |
parent | e6cb43eeedcd6c6961c5ab430f25bb962d40bf8e (diff) | |
download | poezio-d676c2ee7b6207ff0b2a7b384052ab07c08bf43a.tar.gz poezio-d676c2ee7b6207ff0b2a7b384052ab07c08bf43a.tar.bz2 poezio-d676c2ee7b6207ff0b2a7b384052ab07c08bf43a.tar.xz poezio-d676c2ee7b6207ff0b2a7b384052ab07c08bf43a.zip |
Move the plugins documentation
(use automodule directive & docstrings)
Diffstat (limited to 'plugins/uptime.py')
-rw-r--r-- | plugins/uptime.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/uptime.py b/plugins/uptime.py index cc47b46f..6138063e 100644 --- a/plugins/uptime.py +++ b/plugins/uptime.py @@ -1,3 +1,25 @@ +""" +This plugin retrieves the uptime of a server. + +Installation +------------ +You only have to load the plugin. + +.. code-block:: none + + /load uptime + + +Command +------- + +.. glossary:: + + /uptime + **Usage:** ``/uptime <jid>`` + + Retrieve the uptime of the server of ``jid``. +""" from plugin import BasePlugin import tabs from common import parse_secs_to_str, safeJID |