Document the before_quote and the after_quote options of the quote

plugin
This commit is contained in:
mathieui 2014-10-13 00:39:55 +02:00
parent 5a5d5812ed
commit 8305f3bd53
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -19,6 +19,28 @@ Usage
If there is a message at 21:12:23, it will be put in the input. If there
isnt, 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