From d15d53e839060778204b55610b4485274c50cb76 Mon Sep 17 00:00:00 2001 From: syntaxbullet Date: Thu, 12 Feb 2026 16:10:59 +0100 Subject: [PATCH] docs: update guild settings documentation with migrated files List all files that have been updated to use getGuildConfig(). --- docs/guild-settings.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/guild-settings.md b/docs/guild-settings.md index 661470e..24d7fda 100644 --- a/docs/guild-settings.md +++ b/docs/guild-settings.md @@ -172,6 +172,21 @@ Files using guild-specific config that should be updated: - `shared/modules/moderation/moderation.service.ts` - `shared/modules/terminal/terminal.service.ts` +## Files Updated to Use Database Config + +All code has been migrated to use `getGuildConfig()`: + +- `bot/events/guildMemberAdd.ts` - Role assignment on join +- `bot/modules/user/enrollment.interaction.ts` - Enrollment flow +- `bot/modules/feedback/feedback.interaction.ts` - Feedback submission +- `bot/commands/feedback/feedback.ts` - Feedback command +- `bot/commands/inventory/use.ts` - Color role handling +- `bot/commands/admin/create_color.ts` - Color role creation +- `bot/commands/admin/warn.ts` - Warning with DM and auto-timeout +- `shared/modules/moderation/moderation.service.ts` - Accepts config param +- `shared/modules/terminal/terminal.service.ts` - Terminal location persistence +- `shared/modules/economy/lootdrop.service.ts` - Terminal updates + ## Implementation Files | File | Purpose |