From eb3f4db828f6418b66b2fdc3f829f06d99d851b5 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 25 Jan 2019 23:53:53 +0000 Subject: Don't put channel messages as low priority, so we can still catch "bitbot: ++" (karma.py) --- modules/karma.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/karma.py b/modules/karma.py index f9817038..fbdcdacb 100644 --- a/modules/karma.py +++ b/modules/karma.py @@ -25,8 +25,7 @@ class Module(ModuleManager.BaseModule): def new_user(self, event): event["user"].last_karma = None - @utils.hook("received.message.channel", - priority=EventManager.PRIORITY_MONITOR) + @utils.hook("received.message.channel") def channel_message(self, event): match = re.match(REGEX_KARMA, event["message"].strip()) if match and not event["action"]: -- cgit v1.3.1-10-gc9f91