Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 294 Bytes
class DebugModule(BawtM2):
_name = "DebugModule"
privmsg_re = "(!|%(nick)s:\s?)repr"
def handle_privmsg(self, msg):
print repr(msg.data_segment)
self.parent.privmsg(msg.replyto, "%(nick)s: %(data)s" % {'nick': msg.nick,
'data': repr(msg.data_segment)})
Something went wrong with that request. Please try again.