diff options
| author | 2018-08-28 14:55:08 +0100 | |
|---|---|---|
| committer | 2018-08-28 14:55:08 +0100 | |
| commit | b699c120a0894e464d7b2ae972ce13adbfcc54b8 (patch) | |
| tree | 3d93f3f1f841d641bc30994f69fd0261e4206b42 /modules/auto_mode.py | |
| parent | Switch to time.monotonic for comparisons, only send data at most once every .5 (diff) | |
| signature | ||
Change how specific events assure their hooks gets the event independant of
loading order
Diffstat (limited to 'modules/auto_mode.py')
| -rw-r--r-- | modules/auto_mode.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
