added a path to enlightenment
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/manual/woodpecker Pipeline failed Details

main
Morgan McMillian 2023-07-17 21:19:01 -07:00
parent 7c9652122b
commit e5a5038ebb
1 changed files with 3 additions and 0 deletions

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()