2016-03-29 11:56:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Module(object):
|
2018-09-02 18:54:45 +00:00
|
|
|
def __init__(self, bot, events, exports):
|
2018-08-31 11:55:52 +00:00
|
|
|
events.on("received").on("numeric").on("001").hook(self.do_join)
|
2016-03-29 11:56:58 +00:00
|
|
|
|
2018-08-31 11:55:52 +00:00
|
|
|
def do_join(self, event):
|
|
|
|
event["server"].send_join("#bitbot")
|