added a path to enlightenment
This commit is contained in:
parent
7c9652122b
commit
e5a5038ebb
1 changed files with 3 additions and 0 deletions
|
@ -130,6 +130,9 @@ def upvote(room, user, prefs):
|
||||||
reply = prefix + "@" + user.username
|
reply = prefix + "@" + user.username
|
||||||
reply += " now has " + str(karma.karma) + " karma in this channel"
|
reply += " now has " + str(karma.karma) + " karma in this channel"
|
||||||
send(room, reply)
|
send(room, reply)
|
||||||
|
if karma.karma == 1000:
|
||||||
|
reply = "@" + user.username + " has achieved enlightenment. 🌄🧘"
|
||||||
|
send(room, reply)
|
||||||
|
|
||||||
def downvote(room, user, prefs):
|
def downvote(room, user, prefs):
|
||||||
karma = Karma.query.filter(Karma.userid == user.id).one_or_none()
|
karma = Karma.query.filter(Karma.userid == user.id).one_or_none()
|
||||||
|
|
Loading…
Reference in a new issue