master
Aevann1 2021-08-31 20:47:26 +02:00
parent 564daed805
commit 124863ff3c
10 changed files with 16 additions and 15 deletions

View File

@ -126,11 +126,11 @@ def monthly(v):
grant_awards["shit"] = 5 grant_awards["shit"] = 5
grant_awards["gold"] = 5 grant_awards["gold"] = 5
grant_awards["ban"] = 1 grant_awards["ban"] = 1
elif u.patron == 4 or u.patron == 8: elif u.patron == 4:
grant_awards["shit"] = 10 grant_awards["shit"] = 10
grant_awards["gold"] = 10 grant_awards["gold"] = 10
grant_awards["ban"] = 3 grant_awards["ban"] = 3
elif u.patron == 5: elif u.patron == 5 or u.patron == 8:
grant_awards["shit"] = 20 grant_awards["shit"] = 20
grant_awards["gold"] = 20 grant_awards["gold"] = 20
grant_awards["ban"] = 6 grant_awards["ban"] = 6

View File

@ -26,10 +26,11 @@ tiers={
"(Landchad)": 3, "(Landchad)": 3,
"(Terminally online turboautist)": 4, "(Terminally online turboautist)": 4,
"(Footpig)": 5, "(Footpig)": 5,
"(Ape)": 1, "(Chad)": 1,
"(Monke)": 2, "(Megachad)": 2,
"(Gigachad)": 3, "(Gigachad)": 3,
"(Ascended Griller)": 4 "(Terachad)": 4,
"(Petachad)": 5
} }
@app.post("/settings/removebackground") @app.post("/settings/removebackground")
@ -285,12 +286,12 @@ def gumroad(v):
grant_awards["shit"] = 5 grant_awards["shit"] = 5
grant_awards["gold"] = 5 grant_awards["gold"] = 5
grant_awards["ban"] = 1 grant_awards["ban"] = 1
elif tier == 4 or tier == 8: elif tier == 4:
if v.discord_id: add_role(v, "4") if v.discord_id: add_role(v, "4")
grant_awards["shit"] = 10 grant_awards["shit"] = 10
grant_awards["gold"] = 10 grant_awards["gold"] = 10
grant_awards["ban"] = 3 grant_awards["ban"] = 3
elif tier == 5: elif tier == 5 or tier == 8:
if v.discord_id: add_role(v, "5") if v.discord_id: add_role(v, "5")
grant_awards["shit"] = 20 grant_awards["shit"] = 20
grant_awards["gold"] = 20 grant_awards["gold"] = 20

View File

@ -1161,7 +1161,7 @@
{% include "expanded_image_modal.html" %} {% include "expanded_image_modal.html" %}
<script src="/assets/js/files.js"></script> <script src="/assets/js/marseyscript.js"></script>
<!-- ClipboardJS --> <!-- ClipboardJS -->

View File

@ -145,6 +145,6 @@ We also have some custom hooks for mentioning users and subreddits. Note that th
{% include "expanded_image_modal.html" %} {% include "expanded_image_modal.html" %}
{% include "expanded_video_modal.html" %} {% include "expanded_video_modal.html" %}
<script src="/assets/js/files.js"></script> <script src="/assets/js/marseyscript.js"></script>
{% endblock %} {% endblock %}

View File

@ -130,7 +130,7 @@
{% include "bootstrap.html" %} {% include "bootstrap.html" %}
<script src="/assets/js/files.js"></script> <script src="/assets/js/marseyscript.js"></script>
</body> </body>

View File

@ -254,7 +254,7 @@
</div> </div>
</div> </div>
<script src="/assets/js/files.js"></script> <script src="/assets/js/marseyscript.js"></script>
{% block onload %}{% endblock %} {% block onload %}{% endblock %}

View File

@ -226,7 +226,7 @@
}); });
</script> </script>
<script src="/assets/js/files.js"></script> <script src="/assets/js/marseyscript.js"></script>
{% block scripts %} {% block scripts %}
{% endblock %} {% endblock %}

View File

@ -225,7 +225,7 @@
<!-- {{'SITE_NAME' | app_config}} JS --> <!-- {{'SITE_NAME' | app_config}} JS -->
<script src="/assets/js/files.js"></script> <script src="/assets/js/marseyscript.js"></script>
</body> </body>

View File

@ -144,7 +144,7 @@
<!-- {{'SITE_NAME' | app_config}} JS --> <!-- {{'SITE_NAME' | app_config}} JS -->
<script src="/assets/js/files.js"></script> <script src="/assets/js/marseyscript.js"></script>
</body> </body>

View File

@ -409,7 +409,7 @@
<!-- {{'SITE_NAME' | app_config}} JS --> <!-- {{'SITE_NAME' | app_config}} JS -->
<script src="/assets/js/files.js"></script> <script src="/assets/js/marseyscript.js"></script>
<!-- ClipboardJS --> <!-- ClipboardJS -->