summaryrefslogtreecommitdiff
path: root/plugins/quote.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-10-14 15:51:30 +0200
committermathieui <mathieui@mathieui.net>2014-10-14 15:51:30 +0200
commit545ad1bd71e87a482b357f5b49a0898be73478d8 (patch)
treee513febd81f0c3d338b047f0672e5353e92534d4 /plugins/quote.py
parent37fe4be7ec35278f23c9f5c07607c3a14e6b6753 (diff)
parent088c6c6a0b46309d17c4b0ba5939a2dd200c7002 (diff)
downloadpoezio-545ad1bd71e87a482b357f5b49a0898be73478d8.tar.gz
poezio-545ad1bd71e87a482b357f5b49a0898be73478d8.tar.bz2
poezio-545ad1bd71e87a482b357f5b49a0898be73478d8.tar.xz
poezio-545ad1bd71e87a482b357f5b49a0898be73478d8.zip
Merge branch 'master' of git.poez.io:poezio into slix
Conflicts: src/core/handlers.py src/tabs/xmltab.py
Diffstat (limited to 'plugins/quote.py')
-rw-r--r--plugins/quote.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/quote.py b/plugins/quote.py
index 3236ef4d..8a4fd95c 100644
--- a/plugins/quote.py
+++ b/plugins/quote.py
@@ -19,6 +19,28 @@ Usage
If there is a message at 21:12:23, it will be put in the input. If there
isn’t, you will get a warning.
+
+Options
+-------
+
+.. glossary::
+ :sorted:
+
+ before_quote
+
+ **Default value:** ``[empty]``
+
+ Text to insert before the quote. ``%(nick)s`` and ``%(time)s`` can
+ be used to insert the nick of the user who sent the message or the
+ time of the message.
+
+ after_quote
+
+ **Default value:** ``[empty]``
+
+ Text to insert after the quote. ``%(nick)s`` and ``%(time)s`` can
+ be used to insert the nick of the user who sent the message or the
+ time of the message.
"""
from plugin import BasePlugin
from xhtml import clean_text