mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Switch comments of callbacks.PluginRegexp's attributes to docstrings (for Sphinx).
This commit is contained in:
parent
a5e06e1b57
commit
e1f9d68870
@ -1411,15 +1411,15 @@ class PluginRegexp(Plugin):
|
|||||||
the bot is addressed, or triggered only when the bot isn't addressed.
|
the bot is addressed, or triggered only when the bot isn't addressed.
|
||||||
"""
|
"""
|
||||||
flags = re.I
|
flags = re.I
|
||||||
# 'regexps' methods are called whether the message is addressed or not.
|
|
||||||
regexps = ()
|
regexps = ()
|
||||||
# 'addressedRegexps' methods are called only when the message is addressed,
|
"""'regexps' methods are called whether the message is addressed or not."""
|
||||||
# and then, only with the payload (i.e., what is returned from the
|
|
||||||
# 'addressed' function.
|
|
||||||
addressedRegexps = ()
|
addressedRegexps = ()
|
||||||
# 'unaddressedRegexps' methods are called only when the message is *not*
|
"""'addressedRegexps' methods are called only when the message is addressed,
|
||||||
# addressed.
|
and then, only with the payload (i.e., what is returned from the
|
||||||
|
'addressed' function."""
|
||||||
unaddressedRegexps = ()
|
unaddressedRegexps = ()
|
||||||
|
"""'unaddressedRegexps' methods are called only when the message is *not*
|
||||||
|
addressed."""
|
||||||
Proxy = SimpleProxy
|
Proxy = SimpleProxy
|
||||||
def __init__(self, irc):
|
def __init__(self, irc):
|
||||||
self.__parent = super(PluginRegexp, self)
|
self.__parent = super(PluginRegexp, self)
|
||||||
|
Loading…
Reference in New Issue
Block a user