Added docstring for PrivmsgCommandAndRegexp

This commit is contained in:
Jeremy Fincher 2003-08-19 10:46:52 +00:00
parent 230020ad5f
commit fb07813a55

View File

@ -492,6 +492,10 @@ class PrivmsgRegexp(Privmsg):
class PrivmsgCommandAndRegexp(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 flags = re.I
regexps = sets.Set() regexps = sets.Set()
def __init__(self): def __init__(self):