aboutsummaryrefslogtreecommitdiff
path: root/modules/bot_channel.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-16 15:53:14 +0000
committerGravatar jesopo2019-02-16 15:53:14 +0000
commitfaf240106907782dd3771af30eaf08dbc0b9af45 (patch)
treeee028ee382c8c025350f1a2b7439c266ddd1ee66 /modules/bot_channel.py
parentKeep a track of channels we're in, in case we RESUME and need to get channel (diff)
signature
'received.numeric.###' -> 'received.###' throughout project
Diffstat (limited to 'modules/bot_channel.py')
-rw-r--r--modules/bot_channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bot_channel.py b/modules/bot_channel.py
index 6f0f4d04..a15f37ff 100644
--- a/modules/bot_channel.py
+++ b/modules/bot_channel.py
@@ -3,7 +3,7 @@ from src import ModuleManager, utils
@utils.export("serverset", {"setting": "bot-channel",
"help": "Set main channel"})
class Module(ModuleManager.BaseModule):
- @utils.hook("received.numeric.001")
+ @utils.hook("received.001")
def do_join(self, event):
bot_channel = event["server"].get_setting("bot-channel",
self.bot.config.get("bot-channel", "#bitbot"))