Compare commits
No commits in common. "e5a5038ebb45bde68707d7123908024875710ffb" and "5916dd15080ccaa0dddf49d68f51f8d18f710787" have entirely different histories.
e5a5038ebb
...
5916dd1508
2 changed files with 2 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.11-slim-bookworm AS builder
|
||||
FROM python:3.10-slim-bullseye AS builder
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
|
||||
|
||||
|
@ -10,7 +10,7 @@ RUN pip wheel . --wheel-dir /wheels --find-links /wheels
|
|||
|
||||
|
||||
|
||||
FROM python:3.11-slim-bookworm AS run
|
||||
FROM python:3.10-slim-bullseye AS run
|
||||
|
||||
COPY --from=builder /wheels /wheels
|
||||
|
||||
|
|
|
@ -130,9 +130,6 @@ 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()
|
||||
|
|
Loading…
Reference in a new issue