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/sed.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/sed.py') 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) -- cgit v1.3.1-10-gc9f91