From d676c2ee7b6207ff0b2a7b384052ab07c08bf43a Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 13 Apr 2013 22:33:06 +0200 Subject: Move the plugins documentation (use automodule directive & docstrings) --- plugins/status.py | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'plugins/status.py') diff --git a/plugins/status.py b/plugins/status.py index c3e0aa7b..9926ffc8 100644 --- a/plugins/status.py +++ b/plugins/status.py @@ -1,3 +1,38 @@ +""" +This plugin adds several aliases, to shorten status changes. + +Installation +------------ +You only have to load the plugin. + +.. code-block:: none + + /load status + +Aliases +------- + +.. glossary:: + :sorted: + + /afk + /away + Set your status to ``away`` + + /dnd + /busy + Set your status to ``dnd`` + + /available + Set your status to ``available`` + + /chat + Set your status to ``chat`` + + /xa + Set your status to ``xa`` + +""" from plugin import BasePlugin class Plugin(BasePlugin): -- cgit v1.2.3