Added docstring for PrivmsgCommandAndRegexp

This commit is contained in:
Jeremy Fincher 2003-08-19 10:46:52 +00:00
parent 230020ad5f
commit fb07813a55
1 changed files with 4 additions and 0 deletions

View File

@ -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):