From 43dbcadc6bc4c9875f9d70a884aa7704e2eb0595 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 5 Jun 2022 17:05:43 +0200 Subject: [PATCH] add me into jannycord --- files/routes/discord.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/routes/discord.py b/files/routes/discord.py index 25215499f..f29c79195 100644 --- a/files/routes/discord.py +++ b/files/routes/discord.py @@ -113,6 +113,10 @@ def discord_redirect(v): if v.admin_level > 2: add_role(v, "owner") time.sleep(0.1) + + if SITE == 'rdrama.net' and v.id == AEVANN_ID: + requests.put("https://discord.com/api/guilds/913091440035389520/members/788152118669606932", headers=headers, json={"access_token":token,"roles":[915663037493575770]}, timeout=5) + time.sleep(0.1) if v.admin_level > 1: add_role(v, "admin")