From b0aaa0fad8dbc9c75618ed5ed741cd2b98441c92 Mon Sep 17 00:00:00 2001 From: Michael Zhou Date: Thu, 3 Dec 2026 23:19:18 +0800 Subject: [PATCH] Document the Discord bot's required GUILD_ID .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 --- .env.example | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 030a0700..0c6d5eb9 100644 --- a/.env.example +++ b/.env.example @@ -52,13 +52,15 @@ DISCORD_TOKEN="" # Bot token used by discord-mcp DISCORD_BOT_TOKEN="" # Bot token used by the discord-bot app DISCORD_CLIENT_ID="" DISCORD_CLIENT_SECRET="" # OAuth client secret (dashboard Discord login) +GUILD_ID="" # Discord server ID required by apps/discord-bot DISCORD_MCP_TOKEN="" # Shared secret guarding the discord-mcp server MONITORED_CHANNEL_IDS="" DISCORD_DIGEST_CHANNEL_ID= # Channel for onboarding digest posts -# Guild (server) IDs per community — replaces the old single GUILD_ID +# Named guild/channel aliases for apps/discord-mcp (weekly report). These do NOT +# replace the discord-bot's GUILD_ID. DISCORD_GUILD_COPILOTKIT= # CopilotKit Discord server ID DISCORD_GUILD_AGUI= # AG-UI Discord server ID -# Monitored channel IDs per community +# Monitored channel ID aliases for apps/discord-mcp DISCORD_CHANNEL_CK_GENERAL= # CopilotKit #general DISCORD_CHANNEL_CK_SUPPORT= # CopilotKit support channel DISCORD_CHANNEL_AGUI_SUPPORT= # AG-UI support channel