aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-28 14:55:08 +0100
committerGravatar jesopo2018-08-28 14:55:08 +0100
commitb699c120a0894e464d7b2ae972ce13adbfcc54b8 (patch)
tree3d93f3f1f841d641bc30994f69fd0261e4206b42 /modules/commands.py
parentSwitch 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/commands.py')
-rw-r--r--modules/commands.py2
1 files changed, 1 insertions, 1 deletions
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)