diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e7b055214c..84e6b95e202 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ Docs: https://docs.clawd.bot - Message tool: keep path/filePath as-is for send; hydrate buffers only for sendAttachment. (#1444) Thanks @hopyky. - Auto-reply: only report a model switch when session state is available. (#1465) Thanks @robbyczgw-cla. - Control UI: resolve local avatar URLs with basePath across injection + identity RPC. (#1457) Thanks @dlauer. +- Discord: clarify Message Content Intent onboarding hint. (#1487) Thanks @kyleok. - Agents: surface concrete API error details instead of generic AI service errors. - Exec approvals: allow per-segment allowlists for chained shell commands on gateway + node hosts. (#1458) Thanks @czekaj. - Agents: make OpenAI sessions image-sanitize-only; gate tool-id/repair sanitization by provider. diff --git a/src/channels/plugins/onboarding/discord.ts b/src/channels/plugins/onboarding/discord.ts index b7c19af0d17..20256944579 100644 --- a/src/channels/plugins/onboarding/discord.ts +++ b/src/channels/plugins/onboarding/discord.ts @@ -47,7 +47,7 @@ async function noteDiscordTokenHelp(prompter: WizardPrompter): Promise { "1) Discord Developer Portal → Applications → New Application", "2) Bot → Add Bot → Reset Token → copy token", "3) OAuth2 → URL Generator → scope 'bot' → invite to your server", - "Tip: enable Message Content Intent if you need message text.", + "Tip: enable Message Content Intent if you need message text. (Bot → Privileged Gateway Intents → Message Content Intent)", `Docs: ${formatDocsLink("/discord", "discord")}`, ].join("\n"), "Discord bot token", diff --git a/src/commands/onboard-helpers.test.ts b/src/commands/onboard-helpers.test.ts index cdd38baf1ce..3532b7b4c11 100644 --- a/src/commands/onboard-helpers.test.ts +++ b/src/commands/onboard-helpers.test.ts @@ -27,6 +27,8 @@ afterEach(() => { describe("openUrl", () => { it("quotes URLs on win32 so '&' is not treated as cmd separator", async () => { + vi.stubEnv("VITEST", ""); + vi.stubEnv("NODE_ENV", ""); const platformSpy = vi.spyOn(process, "platform", "get").mockReturnValue("win32"); const url =