From 1600373e37955eb73b76c7f1a7df242c116af8f4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 27 Sep 2021 22:08:58 +0200 Subject: [PATCH] sfd --- files/routes/discord.py | 2 +- files/templates/sign_up.html | 54 +----------------------------------- 2 files changed, 2 insertions(+), 54 deletions(-) diff --git a/files/routes/discord.py b/files/routes/discord.py index b7cfbd4f6..4a396a7f3 100644 --- a/files/routes/discord.py +++ b/files/routes/discord.py @@ -17,7 +17,7 @@ def join_discord(v): if v.is_suspended != 0: return "You're banned" - if 'rdrama' in request.host and v.admin_level == 0 and v.patron == 0 and v.truecoins < 150: return f"You must earn 150 {COINS_NAME} before entering the Discord server. You earn {COINS_NAME} by making posts/comments and getting upvoted." + if 'rdrama' in request.host and v.admin_level == 0 and v.patron == 0 and v.coins < 150: return f"You must earn 150 {COINS_NAME} before entering the Discord server. You earn {COINS_NAME} by making posts/comments and getting upvoted." if v.shadowbanned or v.agendaposter: return "" diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index 4ee5ec606..dab138aa7 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -4,59 +4,7 @@ - +