aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-03 16:38:45 +0100
committerGravatar jesopo2019-05-03 16:38:45 +0100
commit4d8b1a1a0d09903878d41f5e90546228e607e449 (patch)
treef9ee507b0d51f371a93ae3c125c7e48c6a33c4ef /modules
parentAdd !friends and !enemies to ducks.py (diff)
signature
Set received.message.channel priority to PRIORITY_MONITOR
Diffstat (limited to 'modules')
-rw-r--r--modules/ducks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ducks.py b/modules/ducks.py
index 79894d10..0bc4ba1a 100644
--- a/modules/ducks.py
+++ b/modules/ducks.py
@@ -41,7 +41,8 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.join")
def join(self, event):
self._activity(event["channel"])
- @utils.hook("received.message.channel")
+ @utils.hook("received.message.channel",
+ priority=EventManager.PRIORITY_MONITOR)
def channel_message(self, event):
self._activity(event["channel"])