diff options
| author | 2018-09-19 13:25:12 +0100 | |
|---|---|---|
| committer | 2018-09-19 13:25:12 +0100 | |
| commit | fcbb7c960ce8c9b693711b4b40d3fa86fd17d7cf (patch) | |
| tree | 0015e3da000323b8f576f3303807176f1f4ea794 /modules/bot_channel.py | |
| parent | Fix some styling in ducks.py (diff) | |
| signature | ||
Refactor everything to use delimited events
Diffstat (limited to 'modules/bot_channel.py')
| -rw-r--r-- | modules/bot_channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bot_channel.py b/modules/bot_channel.py index fc4fe813..cbe50119 100644 --- a/modules/bot_channel.py +++ b/modules/bot_channel.py @@ -2,7 +2,7 @@ class Module(object): def __init__(self, bot, events, exports): - events.on("received").on("numeric").on("001").hook(self.do_join) + events.on("received.numeric.001").hook(self.do_join) exports.add("serverset", {"setting": "bot-channel", "help": "Set main channel"}) |
