remotes/1693045480750635534/spooky-22
Aevann1 2021-09-21 22:52:57 +02:00
parent a013bac5e3
commit 65525a23f3
2 changed files with 5 additions and 12 deletions

View File

@ -9,12 +9,9 @@ BOT_TOKEN = environ.get("DISCORD_BOT_TOKEN",'').strip()
AUTH = environ.get("DISCORD_AUTH",'').strip()
ROLES={
"linked": "849621030926286920",
"shrigma": "864612849199480914",
"admin": "879459632656048180" if environ.get("DOMAIN") == "pcmemes.net" else "846509661288267776",
"feedback": "850716291714383883",
"newuser": "854783259229421589",
"norep": "850971811918512208",
"feedback": "849621030926286920",
"1": "868129042346414132",
"2": "875569477671067688",
"3": "869434199575236649",

View File

@ -117,20 +117,16 @@ def discord_redirect(v):
if x.status_code in [201, 204]:
if v.id == 1: add_role(v, "shrigma")
time.sleep(0.1)
if v.admin_level > 0: add_role(v, "admin")
elif v.admin_level > 0: add_role(v, "admin")
else: add_role(v, "newuser")
time.sleep(0.1)
if v.patron: add_role(v, str(v.patron))
if v.patron:
add_role(v, str(v.patron))
time.sleep(0.1)
add_role(v, "feedback")
time.sleep(0.3)
if v.coins > 100: add_role(v, "linked")
else: add_role(v, "norep")
else:
return x.json()