master
Aevann1 2021-08-31 20:59:37 +02:00
parent 5c10295f0f
commit 4a94dd163a
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,7 @@ AUTH = environ.get("DISCORD_AUTH",'').strip()
ROLES={
"linked": "849621030926286920",
"shrigma": "864612849199480914",
"admin": "846509661288267776",
"feedback": "850716291714383883",
"newuser": "854783259229421589",

View File

@ -115,7 +115,8 @@ def discord_redirect(v):
if x.status_code in [201, 204]:
if v.admin_level > 0: add_role(v, "admin")
if v.id == 1: add_role(v, "shrigma")
elif v.admin_level > 0: add_role(v, "admin")
else: add_role(v, "newuser")
time.sleep(0.1)