added back some bot love
This commit is contained in:
parent
a6b85e6298
commit
e364098010
1 changed files with 1 additions and 2 deletions
|
@ -37,8 +37,7 @@ def karma_cb(room, event):
|
|||
|
||||
for mxid in members:
|
||||
alias = re.search('@(pnut_)?([^:]+)', mxid).group(2)
|
||||
if alias.lower() == handle.lower():
|
||||
print('match')
|
||||
if alias.lower() == handle.lower() or handle.lower() == 'partybot':
|
||||
|
||||
if sign == '++':
|
||||
rs.incr("partybot:k_" + event['room_id'] + "@" + handle)
|
||||
|
|
Loading…
Reference in a new issue