added a path to enlightenment
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline failed
thrrgilag/partybot/pipeline/head There was a failure building this commit

This commit is contained in:
Morgan McMillian 2023-07-17 21:19:01 -07:00
parent 7c9652122b
commit e5a5038ebb

View file

@ -130,6 +130,9 @@ def upvote(room, user, prefs):
reply = prefix + "@" + user.username
reply += " now has " + str(karma.karma) + " karma in this channel"
send(room, reply)
if karma.karma == 1000:
reply = "@" + user.username + " has achieved enlightenment. 🌄🧘"
send(room, reply)
def downvote(room, user, prefs):
karma = Karma.query.filter(Karma.userid == user.id).one_or_none()