Skip to content

Fix #155: restore GUILD_ID in .env.example - #328

Open
joei4cm wants to merge 1 commit into
CopilotKit:mainfrom
joei4cm:fix/155-discord-guild-env
Open

joei4cm wants to merge 1 commit into
CopilotKit:mainfrom
joei4cm:fix/155-discord-guild-env

Conversation

@joei4cm

@joei4cm joei4cm commented Dec 3, 2026

Copy link
Copy Markdown

Fixes #155

.env.example dropped GUILD_ID when DISCORD_GUILD_*/DISCORD_CHANNEL_* aliases were added for apps/discord-mcp, but apps/discord-bot still requires GUILD_ID at boot (apps/discord-bot/src/config.ts) for guild-scoped slash-command registration. A deployment provisioned from the example exited with Missing required environment variable: GUILD_ID.

This restores GUILD_ID and clarifies that the DISCORD_GUILD_*/DISCORD_CHANNEL_* vars are discord-mcp aliases, not a replacement for the bot's guild ID. docs/deployment.md already lists GUILD_ID for Discord, so no doc change was needed.

Validation: git diff --check clean; docs/env-only change (no code paths touched).

🤖 Generated with Claude Code

.env.example dropped GUILD_ID when DISCORD_GUILD_* aliases were added for
discord-mcp, but apps/discord-bot still requires it at boot for guild-scoped
slash command registration. Restore GUILD_ID and clarify that the
DISCORD_GUILD_*/DISCORD_CHANNEL_* vars are discord-mcp aliases, not a
replacement.

Co-Authored-By: Claude Code <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Finish the GUILD_ID -> DISCORD_GUILD_* migration: .env.example crashes the discord-bot at boot

1 participant