[econ] add button for supporter boosts

This commit is contained in:
Devin Zuczek
2026-10-10 01:05:42 -04:00
parent ef65b505cc
commit e9af56aff4
7 changed files with 180 additions and 8 deletions
+3
View File
@@ -57,6 +57,7 @@ import {
playerHistoryHandler,
requireDeveloper,
requireStaff,
runDiscordRoleGiftHandler,
searchReportsHandler,
syncDiscordRolesHandler,
topReportedHandler,
@@ -576,6 +577,8 @@ const app = new Hono<App>()
// The daily role sweep, run now and answered with its summary (halt reason included) —
// the cron reports only to a log line, and this is the way to see why it wrote nothing.
.post('/api/staff/discord-roles/sync', requireDeveloper, syncDiscordRolesHandler)
// Econ's weekly supporter gift, paid now: a bonus round for everyone holding a mapped role.
.post('/api/staff/discord-roles/supporter-gift', requireDeveloper, runDiscordRoleGiftHandler)
// Rec Room Plus is worth tokens and a discount, so granting it is developer-only too.
.post('/api/staff/players/:id/grant-plus', requireDeveloper, grantPlusHandler)
.post('/api/staff/players/:id/username-changes', addUsernameChangeHandler)