Remove allowedSfxChannels functionality - allow SFX in all channels

- Remove allowedSfxChannels from database schema and all code
- Remove channel checking logic from all SFX commands (!sfx, /sfx, /soundboard)
- Remove /config sfxchannels subcommand
- Update config.json and example to remove channel restrictions
- Simplify SFX system to work in any channel with bot access

Benefits:
- Better user experience - no confusing channel restrictions
- Simpler configuration - fewer settings to manage
- Cleaner codebase - reduced complexity
- Universal access - SFX works anywhere the bot can send messages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Chris Ham
2025-08-16 21:45:42 -07:00
parent e9b3b630b6
commit bcefe03c50
12 changed files with 218 additions and 293 deletions

View File

@@ -10,9 +10,9 @@
"id": "GUILD ID",
"prefix": "!",
"enableSfx": true,
"allowedSfxChannels": "piped|list|of-valid-channels",
"sfxVolume": 0.5,
"passes": 2,
"allowedRolesForRequest": ["DISCORD ROLE ID"],
"enableFunFacts": true,
"enableHamFacts": true,
"scheduledEvents": [
@@ -34,17 +34,14 @@
"id": "SECOND GUILD ID",
"prefix": "!",
"enableSfx": true,
"allowedSfxChannels": "piped|list|of-valid-channels",
"sfxVolume": 0.5,
"passes": 2,
"enableFunFacts": true,
"enableHamFacts": true
}
],
"activities": [
"that gum you like"
],
"activities": ["Chardee MacDennis", "The Nightman Cometh", "Charlie Work"],
"blacklistedUsers": ["IGNORE COMMANDS FROM THESE DISCORD USER IDS"]
},
"debug": false
}
}