class Bugs(Plugin):
- re_bugs = re_compile('(?<=#)(\d{6,7})')
+ """Gets bugs info from the BTS
+ """
+ re_bugs = re_compile(r'(?<=#)(\d{6,7})')
def __init__(self, bot):
Plugin.__init__(self, bot)
bot.add_event_handler("muc::%s::message" % self.bot.room, self.muc_message)
def muc_message(self, msg):
+ """Handler method dealing with MUC incoming messages"""
# Does not reply to myself
if msg['mucnick'] == self.bot.nick:
return