diff --git a/files/routes/admin.py b/files/routes/admin.py index 7cc5affa8..d719db636 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -55,6 +55,16 @@ def give_monthly_marseybux_task(): return True + +@app.post('/kippy') +@admin_level_required(3) +def kippy(v): + kippy = g.db.get(User, KIPPY_ID) + kippy.procoins += 10000 + g.db.add(kippy) + g.db.commit() + return '10k marseycoins printed!' + @app.get('/admin/loggedin') @admin_level_required(2) def loggedin_list(v): diff --git a/files/templates/admin/awards.html b/files/templates/admin/awards.html index d62c8d19b..0e6ff1cde 100644 --- a/files/templates/admin/awards.html +++ b/files/templates/admin/awards.html @@ -61,4 +61,10 @@ + +
+ {% if SITE == 'pcmemes.net' and v.id == KIPPY_ID %} + + {% endif %} + {% endblock %} \ No newline at end of file