remotes/1693045480750635534/spooky-22
Aevann1 2021-08-23 19:53:50 +02:00
parent dbee54930f
commit c752f18095
3 changed files with 25 additions and 6 deletions

View File

@ -37,6 +37,13 @@ else:
"description": "Let OP know how much their post sucks ass. Flies will swarm their idiotic post. (flies only work on posts lol!!)",
"icon": "fas fa-poop",
"color": "text-black-50"
},
"gold": {
"kind": "gold",
"title": "Gold",
"description": "A positive award because we need a positive award. Puts annoying sparkles in the post.",
"icon": "fas fa-sparkles",
"color": "text-warning"
}
}

View File

@ -116,15 +116,19 @@ def monthly(v):
grant_awards = {}
if u.patron == 1:
grant_awards["shit"] = 1
#grant_awards["shit"] = 1
grant_awards["gold"] = 1
elif u.patron == 2:
grant_awards["shit"] = 3
#grant_awards["shit"] = 3
grant_awards["gold"] = 3
elif u.patron == 3:
grant_awards["shit"] = 5
grant_awards["ban"] = 1
#grant_awards["shit"] = 5
grant_awards["gold"] = 5
#grant_awards["ban"] = 1
elif u.patron == 4:
grant_awards["shit"] = 10
grant_awards["ban"] = 3
#grant_awards["shit"] = 10
grant_awards["gold"] = 10
#grant_awards["ban"] = 3
for name in grant_awards:
@ -230,16 +234,20 @@ def badge_grant_post(v):
if badge_id == 21:
if user.discord_id: add_role(user, "paypig")
grant_awards["shit"] = 1
grant_awards["gold"] = 1
elif badge_id == 22:
if user.discord_id: add_role(user, "renthog")
grant_awards["shit"] = 3
grant_awards["gold"] = 3
elif badge_id == 23:
if user.discord_id: add_role(user, "landchad")
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")
grant_awards["shit"] = 10
grant_awards["gold"] = 10
grant_awards["ban"] = 3
if len(grant_awards):

View File

@ -236,16 +236,20 @@ def gumroad(v):
if tier == 1:
if v.discord_id: add_role(v, "1")
grant_awards["shit"] = 1
grant_awards["gold"] = 1
elif tier == 2:
if v.discord_id: add_role(v, "2")
grant_awards["shit"] = 3
grant_awards["gold"] = 3
elif tier == 3:
if v.discord_id: add_role(v, "3")
grant_awards["shit"] = 5
grant_awards["gold"] = 5
grant_awards["ban"] = 1
elif tier == 4:
if v.discord_id: add_role(v, "4")
grant_awards["shit"] = 10
grant_awards["gold"] = 10
grant_awards["ban"] = 3
_awards = []