diff options
| author | 2018-09-19 13:25:12 +0100 | |
|---|---|---|
| committer | 2018-09-19 13:25:12 +0100 | |
| commit | fcbb7c960ce8c9b693711b4b40d3fa86fd17d7cf (patch) | |
| tree | 0015e3da000323b8f576f3303807176f1f4ea794 /modules/check_mode.py | |
| parent | Fix some styling in ducks.py (diff) | |
| signature | ||
Refactor everything to use delimited events
Diffstat (limited to 'modules/check_mode.py')
| -rw-r--r-- | modules/check_mode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/check_mode.py b/modules/check_mode.py index 5819ef51..788f573c 100644 --- a/modules/check_mode.py +++ b/modules/check_mode.py @@ -3,7 +3,7 @@ class Module(object): def __init__(self, bot, events, exports): self.bot = bot - events.on("preprocess").on("command").hook(self.preprocess_command) + events.on("preprocess.command").hook(self.preprocess_command) def preprocess_command(self, event): if event["is_channel"] and event["hook"].kwargs.get( |
