mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-27 16:08:58 -07:00
[econ] add button for supporter boosts
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user