Remove special cases based on SITE_NAME

This commit is contained in:
iro84657 2022-05-09 01:26:02 -04:00
parent 6d2e4b3652
commit 71743a3bfc
24 changed files with 103 additions and 848 deletions

View file

@ -17,9 +17,6 @@ def join_discord(v):
if v.shadowbanned: return {"error": "Internal server error"}
if SITE_NAME == 'rDrama' and v.admin_level < 2 and v.patron == 0 and v.truecoins < 150:
return "You must receive 150 upvotes/downvotes from other users before being able to join the Discord server."
now=int(time.time())
state=generate_hash(f"{now}+{v.id}+discord")