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/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands.py') diff --git a/modules/commands.py b/modules/commands.py index c0158287..e75ae4d1 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -60,7 +60,7 @@ class Module(object): help="Get more output from the last command", skip_out=True) bot.events.on("postboot").on("configure").on( - "channelset").call(setting="command-prefix", + "channelset").assure_call(setting="command-prefix", help="Set the command prefix used in this channel") bot.events.on("new").on("user", "channel").hook(self.new) -- cgit v1.3.1-10-gc9f91