Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add a really badly written module for booting anyone who's not a bro

(This is what brogramming looks like. It's not pretty)
  • Loading branch information...
commit 32d7da2b59dbf4b299913ccac68bfce269066b44 1 parent 2dd541b
Richo Healey richo authored

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. +8 0 modules.d/bro.py
8 modules.d/bro.py
... ... @@ -0,0 +1,8 @@
  1 +class BroModule(BawtM2):
  2 + privmsg_re = ".*"
  3 + privmsg_flags = re.I
  4 + _name = "BroModule"
  5 +
  6 + def handle_privmsg(self, msg):
  7 + if "bro" not in msg.data_segment:
  8 + self.parent.kick(msg.replyto, msg.nick, "browned")

0 comments on commit 32d7da2

Please sign in to comment.
Something went wrong with that request. Please try again.