You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regression in Discord channel mode: The agent generates a complete assistant response internally, but the final text never appears in the Discord channel. The user sees only the typing indicator (Agent is typing...) and token usage increasing, but no actual message is delivered.
This appears to be a failure in the agent's message tool invocation: the LLM generates the response text as its final answer (which stays private), but fails to call message(action=send, channel=discord, ...) to actually post it to the channel.
Steps to Reproduce
Configure OpenClaw to work with Discord channels (not DM)
Send any message in a Discord channel where the OpenClaw agent is active
Observe: Agent is typing... appears
Observe: Token usage increases (agent is burning tokens)
Expected: Assistant reply appears in the channel
Actual: No message is ever posted. The typing indicator eventually disappears and the user receives nothing.
Key finding:didSendViaMessagingTool: false despite the agent generating a full response. The response exists in the .jsonl session file as "type": "assistant" entries, but they were never transmitted to Discord.
The system prompt correctly instructs:
"To post visible output here, use the message tool with action=send"
But the agent does not comply. It outputs the response as its final answer text instead of routing it through the messaging tool.
Environment
OS: macOS (server)
OpenClaw version: 2026.5.2 (upgraded on May 4 → regression started)
Previous working version: 2026.4.30 (worked fine before upgrade)
Platform: Discord (channels, not DM)
Model: synthetic/hf:moonshotai/Kimi-K2.6 (also reproduced with MiniMax M2.5)
Config:channels.discord configured with guild + channel routing
Regression Note
This worked perfectly before upgrading to 2026.5.2. The regression started immediately after the upgrade (May 4).
Additional Context
DM mode with the same agent works fine
openclaw.json does not contain any setting that controls message visibility auto-flush vs explicit tool use
The message tool is present in availableTools and the system prompt instructs its use
Bug Description
Regression in Discord channel mode: The agent generates a complete assistant response internally, but the final text never appears in the Discord channel. The user sees only the typing indicator (
Agent is typing...) and token usage increasing, but no actual message is delivered.This appears to be a failure in the agent's message tool invocation: the LLM generates the response text as its final answer (which stays private), but fails to call
message(action=send, channel=discord, ...)to actually post it to the channel.Steps to Reproduce
Agent is typing...appearsEvidence from Session Logs
From
~/.openclaw/logs/sessions/session/...:{ "interaction": { "didSendViaMessagingTool": false, "messageToolCallsCount": 0, "toolCallsCount": 29 }, "detectedRoutingSummary": { "noResponseTypesHandled": true, "noChannelDeclared": false, "private": true, "someInteractionHandled": true } }Key finding:
didSendViaMessagingTool: falsedespite the agent generating a full response. The response exists in the.jsonlsession file as"type": "assistant"entries, but they were never transmitted to Discord.The system prompt correctly instructs:
But the agent does not comply. It outputs the response as its final answer text instead of routing it through the messaging tool.
Environment
channels.discordconfigured with guild + channel routingRegression Note
This worked perfectly before upgrading to 2026.5.2. The regression started immediately after the upgrade (May 4).
Additional Context
openclaw.jsondoes not contain any setting that controls message visibility auto-flush vs explicit tool usemessagetool is present inavailableToolsand the system prompt instructs its useRelated (but different)