feat: add settings page with guild config, game settings, and command toggles
Some checks failed
Deploy to Production / test (push) Failing after 31s
Some checks failed
Deploy to Production / test (push) Failing after 31s
Implements the full admin settings page covering all game settings (leveling, economy, inventory, lootdrops, trivia, moderation, commands) and guild settings (roles, channels, welcome message, moderation, feature overrides). Includes role/channel pickers, trivia category multi-select, and a feature override flag editor. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -139,7 +139,7 @@ async function handler(ctx: RouteContext): Promise<Response | null> {
|
||||
return a.name.localeCompare(b.name);
|
||||
});
|
||||
|
||||
return jsonResponse({ roles, channels, commands });
|
||||
return jsonResponse({ guildId: env.DISCORD_GUILD_ID, roles, channels, commands });
|
||||
}, "fetch settings meta");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user