aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-09 17:08:38 +0100
committerGravatar jesopo2018-09-09 17:08:38 +0100
commit2a37e1053363577d9b47601e44533733bb48560a (patch)
tree6d2d631f7154f5a94e8d45155b68c217ecbfda80 /modules
parentChange bitly.py to use delimited events (diff)
signature
Change default priority to "medium", add priority lower than "low" ("monitor")
Diffstat (limited to 'modules')
-rw-r--r--modules/to.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/to.py b/modules/to.py
index e566e4c7..849f3af6 100644
--- a/modules/to.py
+++ b/modules/to.py
@@ -4,7 +4,7 @@ class Module(object):
def __init__(self, bot, events, exports):
events.on("received").on("message").on("channel"
).hook(self.channel_message,
- priority=EventManager.PRIORITY_MEDIUM)
+ priority=EventManager.PRIORITY_HIGH)
events.on("received").on("command").on("to").hook(
self.to, min_args=2, help=("Relay a message to a "
"user the next time they talk in a channel"),