aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/bot_channel.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/bot_channel.py b/modules/bot_channel.py
deleted file mode 100644
index 32f3f1fc..00000000
--- a/modules/bot_channel.py
+++ /dev/null
@@ -1,12 +0,0 @@
-#--depends-on config
-
-from src import ModuleManager, utils
-
-@utils.export("serverset", utils.Setting("bot-channel",
- "Set main channel", example="#bitbot"))
-class Module(ModuleManager.BaseModule):
- @utils.hook("received.001")
- def do_join(self, event):
- bot_channel = event["server"].get_setting("bot-channel",
- self.bot.config.get("bot-channel", "#bitbot"))
- event["server"].send_join(bot_channel)