From 471cd9d3223453721191dd614aef30b0b0b3e85e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 18 Oct 2021 20:39:49 +0200 Subject: [PATCH] fds --- files/routes/discord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/discord.py b/files/routes/discord.py index b0fe3c346..aa5b101fc 100755 --- a/files/routes/discord.py +++ b/files/routes/discord.py @@ -16,7 +16,7 @@ WELCOME_CHANNEL="846509313941700618" @auth_required def join_discord(v): - if v.is_suspended != 0: return "Banned users cannot join the discord server!" + if v.is_suspended != 0 and v.admin_level == 0: return "Banned users cannot join the discord server!" if 'rama' 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."