ignore the mndp user so it doesn't get karma
This commit is contained in:
parent
0fc4482bdf
commit
7cdd1326ff
1 changed files with 3 additions and 0 deletions
|
@ -193,6 +193,9 @@ def on_vote(msg, matcher):
|
|||
canidate = matcher.group(1)
|
||||
vote = matcher.group(2)
|
||||
|
||||
if canidate == config['MNDPUSER']:
|
||||
return
|
||||
|
||||
try:
|
||||
pnutuser, meta = pnutpy.api.get_user("@" + canidate)
|
||||
if msg.user.username == pnutuser.username:
|
||||
|
|
Loading…
Reference in a new issue