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; }