From c4fe5b19a24b82803d224918d527d54d3e45a6ea Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 26 Aug 2021 15:37:47 +0200 Subject: [PATCH] gfgf --- files/helpers/discord.py | 2 +- files/routes/admin.py | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/files/helpers/discord.py b/files/helpers/discord.py index 95e75d0bb6..cf1fcadcfe 100644 --- a/files/helpers/discord.py +++ b/files/helpers/discord.py @@ -18,7 +18,7 @@ ROLES={ "2": "875569477671067688", "3": "869434199575236649", "4": "868140288013664296", - "5": "fdfd545454gf", + "5": "880445545771044884", "8": "868140288013664296", } diff --git a/files/routes/admin.py b/files/routes/admin.py index 11ddea1d74..f87c02e59a 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -236,28 +236,28 @@ def badge_grant_post(v): grant_awards = {} if badge_id == 21: - if user.discord_id: add_role(user, "paypig") + if user.discord_id: add_role(user, "1") grant_awards["shit"] = 1 grant_awards["gold"] = 1 elif badge_id == 22: - if user.discord_id: add_role(user, "renthog") + if user.discord_id: add_role(user, "2") grant_awards["shit"] = 3 grant_awards["gold"] = 3 elif badge_id == 23: - if user.discord_id: add_role(user, "landchad") + if user.discord_id: add_role(user, "3") grant_awards["shit"] = 5 grant_awards["gold"] = 5 grant_awards["ban"] = 1 elif badge_id in [24, 28]: - if user.discord_id: add_role(user, "turboautist") + if user.discord_id: add_role(user, "4") grant_awards["shit"] = 10 grant_awards["gold"] = 10 grant_awards["ban"] = 3 - #elif badge_id == 25: - #if user.discord_id: add_role(user, "turboautist") - #grant_awards["shit"] = 10 - #grant_awards["gold"] = 10 - #grant_awards["ban"] = 6 + elif badge_id == 25: + if user.discord_id: add_role(user, "5") + grant_awards["shit"] = 10 + grant_awards["gold"] = 10 + grant_awards["ban"] = 6 if len(grant_awards):