Don't put channel messages as low priority, so we can still catch "bitbot: ++"

(karma.py)
This commit is contained in:
jesopo 2019-01-25 23:53:53 +00:00
parent f86a852d55
commit eb3f4db828

View file

@ -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"]: