diff options
| author | 2018-08-28 14:55:08 +0100 | |
|---|---|---|
| committer | 2018-08-28 14:55:08 +0100 | |
| commit | b699c120a0894e464d7b2ae972ce13adbfcc54b8 (patch) | |
| tree | 3d93f3f1f841d641bc30994f69fd0261e4206b42 /modules/sed.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/sed.py')
| -rw-r--r-- | modules/sed.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/sed.py b/modules/sed.py index ca75706c..7d64669d 100644 --- a/modules/sed.py +++ b/modules/sed.py @@ -11,12 +11,12 @@ class Module(object): self.channel_message) bot.events.on("postboot").on("configure").on( - "channelset").call(setting="sed", + "channelset").assure_call(setting="sed", help="Disable/Enable sed in a channel", validate=Utils.bool_or_none) bot.events.on("postboot").on("configure").on( - "channelset").call(setting="sed-sender-only", - help= + "channelset").assure_call(setting="sed-sender-only", + replayable=True, help= "Disable/Enable sed only looking at the messages sent by the user", validate=Utils.bool_or_none) |
