Don't put channel messages as low priority, so we can still catch "bitbot: ++"
(karma.py)
This commit is contained in:
parent
f86a852d55
commit
eb3f4db828
1 changed files with 1 additions and 2 deletions
|
@ -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"]:
|
||||
|
|
Loading…
Reference in a new issue