dffd
This commit is contained in:
parent
7eb9c0c5be
commit
5c75d2cf58
5 changed files with 27 additions and 8 deletions
|
@ -3372,7 +3372,7 @@ body, #settings, #notifications, #submit{
|
|||
}
|
||||
|
||||
.custom-gutters {
|
||||
padding-left: 8px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -3389,7 +3389,7 @@ body, #settings, #notifications, #submit {
|
|||
}
|
||||
|
||||
.custom-gutters {
|
||||
padding-left: 8px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue