mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added docstring for PrivmsgCommandAndRegexp
This commit is contained in:
parent
230020ad5f
commit
fb07813a55
@ -492,6 +492,10 @@ class PrivmsgRegexp(Privmsg):
|
||||
|
||||
|
||||
class PrivmsgCommandAndRegexp(Privmsg):
|
||||
"""Same as Privmsg, except allows the user to also include regexp-based
|
||||
callbacks. All regexp-based callbacks must be specified in a sets.Set
|
||||
(or list) attribute "regexps".
|
||||
"""
|
||||
flags = re.I
|
||||
regexps = sets.Set()
|
||||
def __init__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user