feat: add settings page with guild config, game settings, and command toggles
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:
syntaxbullet
2026-02-14 12:45:23 +01:00
parent 9471b6fdab
commit f0bfaecb0b
4 changed files with 1607 additions and 1 deletions

View File

@@ -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");
}