mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Added some elucidating comments.
This commit is contained in:
parent
b5f1e2a3e7
commit
5815b3b348
@ -1294,8 +1294,14 @@ class PluginRegexp(Plugin):
|
|||||||
list) attribute "regexps".
|
list) attribute "regexps".
|
||||||
"""
|
"""
|
||||||
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,
|
||||||
|
# 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*
|
||||||
|
# addressed.
|
||||||
unaddressedRegexps = ()
|
unaddressedRegexps = ()
|
||||||
Proxy = SimpleProxy
|
Proxy = SimpleProxy
|
||||||
def __init__(self, irc):
|
def __init__(self, irc):
|
||||||
|
Loading…
Reference in New Issue
Block a user