Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 10 lines (8 sloc) 0.288 kb
32d7da2 @richo Add a really badly written module for booting anyone who's not a bro
richo authored
1 class BroModule(BawtM2):
2 privmsg_re = ".*"
3 privmsg_flags = re.I
4 _name = "BroModule"
5
6 def handle_privmsg(self, msg):
e5c0721 @richo Make BroBawt a little more lenient
richo authored
7 data = msg.data_segment.lower()
8 if "bro" not in data and "brah" not in data:
32d7da2 @richo Add a really badly written module for booting anyone who's not a bro
richo authored
9 self.parent.kick(msg.replyto, msg.nick, "browned")
Something went wrong with that request. Please try again.