Files
ghbot/config.example.json
Chris Ham bcefe03c50 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>
2025-08-16 21:45:42 -07:00

48 lines
1.6 KiB
JSON

{
"botName": "greenhambot",
"discord": {
"clientId": "YOUR DISCORD APP ID",
"token": "YOUR DISCORD APP TOKEN",
"adminUserId": "YOUR DISCORD USER ID",
"guilds": [
{
"internalName": "GUILD NAME",
"id": "GUILD ID",
"prefix": "!",
"enableSfx": true,
"sfxVolume": 0.5,
"passes": 2,
"allowedRolesForRequest": ["DISCORD ROLE ID"],
"enableFunFacts": true,
"enableHamFacts": true,
"scheduledEvents": [
{
"id": "rise-up-and-kick-a-little-ass",
"schedule": {
"hour": 7,
"minute": 30,
"tz": "America/Los_Angeles"
},
"channelId": "DISCORD CHANNEL ID",
"pingRoleId": "DISCORD ROLE ID",
"message": "I'm gonna rise up, I'm gonna kick a little ass, Gonna kick some ass in the USA, Gonna climb a mountain, Gonna sew a flag, Gonna fly on an Eagle, I'm gonna kick some butt, I'm gonna drive a big truck, I'm gonna rule this world, Gonna kick some ass, Gonna rise up, Kick a little ass"
}
]
},
{
"internalName": "SECOND GUILD NAME",
"id": "SECOND GUILD ID",
"prefix": "!",
"enableSfx": true,
"sfxVolume": 0.5,
"passes": 2,
"enableFunFacts": true,
"enableHamFacts": true
}
],
"activities": ["Chardee MacDennis", "The Nightman Cometh", "Charlie Work"],
"blacklistedUsers": ["IGNORE COMMANDS FROM THESE DISCORD USER IDS"]
},
"debug": false
}