From 316001993d651eed22c739469951ea9438d48793 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 28 Aug 2021 14:33:08 +0200 Subject: [PATCH] gf --- files/helpers/discord.py | 2 +- files/routes/admin.py | 18 +++++++++--------- files/routes/settings.py | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/files/helpers/discord.py b/files/helpers/discord.py index cf1fcadcf..3d5a7e8df 100644 --- a/files/helpers/discord.py +++ b/files/helpers/discord.py @@ -18,7 +18,7 @@ ROLES={ "2": "875569477671067688", "3": "869434199575236649", "4": "868140288013664296", - "5": "880445545771044884", + # "5": "880445545771044884", "8": "868140288013664296", } diff --git a/files/routes/admin.py b/files/routes/admin.py index 40073334e..a842c7ad2 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -129,10 +129,10 @@ def monthly(v): grant_awards["shit"] = 10 grant_awards["gold"] = 10 grant_awards["ban"] = 3 - elif u.patron == 5 or u.patron == 8: - grant_awards["shit"] = 10 - grant_awards["gold"] = 10 - grant_awards["ban"] = 6 + # elif u.patron == 5: + # grant_awards["shit"] = 10 + # grant_awards["gold"] = 10 + # grant_awards["ban"] = 6 for name in grant_awards: @@ -253,11 +253,11 @@ def badge_grant_post(v): grant_awards["shit"] = 10 grant_awards["gold"] = 10 grant_awards["ban"] = 3 - elif badge_id == 25: - if user.discord_id: add_role(user, "5") - 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): diff --git a/files/routes/settings.py b/files/routes/settings.py index cc620d70a..75cc24ee2 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -285,11 +285,11 @@ def gumroad(v): grant_awards["shit"] = 10 grant_awards["gold"] = 10 grant_awards["ban"] = 3 - elif tier == 5: - if v.discord_id: add_role(v, "5") - grant_awards["shit"] = 10 - grant_awards["gold"] = 10 - grant_awards["ban"] = 6 + # elif tier == 5: + # if v.discord_id: add_role(v, "5") + # grant_awards["shit"] = 10 + # grant_awards["gold"] = 10 + # grant_awards["ban"] = 6 _awards = []