Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: universal_exce…
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (7 sloc) 0.294 kb
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)})
Jump to Line
Something went wrong with that request. Please try again.