forked from MarseyWorld/MarseyWorld
fdfd
parent
5c10295f0f
commit
4a94dd163a
|
@ -10,6 +10,7 @@ AUTH = environ.get("DISCORD_AUTH",'').strip()
|
|||
|
||||
ROLES={
|
||||
"linked": "849621030926286920",
|
||||
"shrigma": "864612849199480914",
|
||||
"admin": "846509661288267776",
|
||||
"feedback": "850716291714383883",
|
||||
"newuser": "854783259229421589",
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue