Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.514 kb
class GreetModule(BawtM2):
_name = "GreetModule"
def handle_join(self, msg):
# We get notified of our own joins..
if msg.nick != self.parent.nick:
self.parent.privmsg(msg.replyto, "Hi %s" % msg.nick)
class WildModule(BawtM2):
_name = "WildModule"
def handle_join(self, msg):
if self.parent.nick.lower() == "a":
self.parent.action(msg.replyto, "wild %s appears!" % msg.nick)
def on_load(self, *args, **kwargs):
self.parent.identify('A')
Jump to Line
Something went wrong with that request. Please try again.