forked from rDrama/rDrama
master
parent
ceb7bb8be9
commit
b19978c4bd
|
@ -16,7 +16,7 @@ WELCOME_CHANNEL="846509313941700618"
|
|||
@auth_required
|
||||
def join_discord(v):
|
||||
|
||||
if v.is_suspended != 0: return "You're banned"
|
||||
if v.is_suspended != 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."
|
||||
|
||||
|
|
Loading…
Reference in New Issue