summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-08-07 21:10:03 +0200
committermathieui <mathieui@mathieui.net>2013-08-07 21:10:03 +0200
commit3cc86e714581b1dfaa252ad85345c5689ecf5424 (patch)
tree6d943082be25864cde2c3c6235b91ba111f0e4f0
parent65a73edc6245dcd5858db65f16ba83493bae403e (diff)
downloadpoezio-3cc86e714581b1dfaa252ad85345c5689ecf5424.tar.gz
poezio-3cc86e714581b1dfaa252ad85345c5689ecf5424.tar.bz2
poezio-3cc86e714581b1dfaa252ad85345c5689ecf5424.tar.xz
poezio-3cc86e714581b1dfaa252ad85345c5689ecf5424.zip
Add the missing regex admin documentation
-rw-r--r--doc/source/plugins/regex_admin.rst6
-rw-r--r--plugins/regex_admin.py5
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/source/plugins/regex_admin.rst b/doc/source/plugins/regex_admin.rst
new file mode 100644
index 00000000..c6530bb6
--- /dev/null
+++ b/doc/source/plugins/regex_admin.rst
@@ -0,0 +1,6 @@
+.. _regex-admin-plugin:
+
+Admin regex
+===========
+
+.. automodule:: regex_admin
diff --git a/plugins/regex_admin.py b/plugins/regex_admin.py
index dbd5e49f..05b65db2 100644
--- a/plugins/regex_admin.py
+++ b/plugins/regex_admin.py
@@ -15,18 +15,17 @@ Commands
Those commands take a regular expression (as defined in the
`re module documentation`_) as a parameter.
-For roles
-~~~~~~~~~
-
.. glossary::
:sorted:
/rkick
+ **Usage:** ``/rkick <regex>``
Kick a participant using a regex.
/rban
+ **Usage:** ``/rban <regex>``
Ban a participant using a regex.