aboutsummaryrefslogtreecommitdiff
path: root/modules/join.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/join.py')
-rw-r--r--modules/join.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/join.py b/modules/join.py
new file mode 100644
index 00000000..3a95d1c7
--- /dev/null
+++ b/modules/join.py
@@ -0,0 +1,8 @@
+
+
+class Module(object):
+ def __init__(self, bot):
+ bot.events.on("received").on("numeric").on("001").hook(self.do_join)
+
+ def do_join(self, event):
+ event["server"].send_join("#bitbot")