unpin award

This commit is contained in:
Aevann1 2021-10-21 01:37:53 +02:00
parent 68510e964b
commit b69daaabc9
8 changed files with 94 additions and 14 deletions

View file

@ -328,12 +328,15 @@ def gumroad(v):
grant_awards["fireflies"] = 10
grant_awards["train"] = 10
grant_awards["ban"] = 5
grant_awards["pin"] = 1
elif tier == 5 or tier == 8:
if v.discord_id: add_role(v, "5")
grant_awards["shit"] = 20
grant_awards["fireflies"] = 20
grant_awards["train"] = 20
grant_awards["ban"] = 10
grant_awards["pin"] = 2
grant_awards["unpin"] = 1
thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id