This commit is contained in:
Aevann1 2021-09-27 02:31:54 +02:00
parent 0fa499c591
commit b7214dd48b
2 changed files with 4 additions and 2 deletions

View file

@ -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")