From 4a94dd163a19077b09881ae4937e667561e95d8a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 31 Aug 2021 20:59:37 +0200 Subject: [PATCH] fdfd --- files/helpers/discord.py | 1 + files/routes/discord.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/files/helpers/discord.py b/files/helpers/discord.py index cf1fcadcf..b164c87cc 100644 --- a/files/helpers/discord.py +++ b/files/helpers/discord.py @@ -10,6 +10,7 @@ AUTH = environ.get("DISCORD_AUTH",'').strip() ROLES={ "linked": "849621030926286920", + "shrigma": "864612849199480914", "admin": "846509661288267776", "feedback": "850716291714383883", "newuser": "854783259229421589", diff --git a/files/routes/discord.py b/files/routes/discord.py index de30e79f2..04d0888c8 100644 --- a/files/routes/discord.py +++ b/files/routes/discord.py @@ -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)