From b699c120a0894e464d7b2ae972ce13adbfcc54b8 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 28 Aug 2018 14:55:08 +0100 Subject: Change how specific events assure their hooks gets the event independant of loading order --- modules/auto_mode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/auto_mode.py') diff --git a/modules/auto_mode.py b/modules/auto_mode.py index 4d0c3a0b..2c33f260 100644 --- a/modules/auto_mode.py +++ b/modules/auto_mode.py @@ -5,7 +5,7 @@ class Module(object): self.bot = bot bot.events.on("postboot").on("configure").on( - "channelset").call(setting="automode", + "channelset").assure_call(setting="automode", help="Disable/Enable automode", validate=Utils.bool_or_none) -- cgit v1.3.1-10-gc9f91