From 23154d85a955195a9c15485e7363914c0d03d9d3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 27 Sep 2021 02:31:54 +0200 Subject: [PATCH] fds --- files/routes/discord.py | 4 +++- files/templates/emoji_modal.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/files/routes/discord.py b/files/routes/discord.py index 6b1145c68..b7cfbd4f6 100644 --- a/files/routes/discord.py +++ b/files/routes/discord.py @@ -17,8 +17,10 @@ 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.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 '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 v.shadowbanned or v.agendaposter: return "" + now=int(time.time()) state=generate_hash(f"{now}+{v.id}+discord") diff --git a/files/templates/emoji_modal.html b/files/templates/emoji_modal.html index 2c9bdd5b5..6b3ebe61f 100644 --- a/files/templates/emoji_modal.html +++ b/files/templates/emoji_modal.html @@ -13,7 +13,7 @@ } .emoji:focus { - border: 1px solid #805ad5 !important; + border: 1px solid var(--primary) !important; }