Skip to content

Discord: persistent 'typing' indicator not cleared when streaming=block mode is active #26961

Description

@happy2025-beep

Bug Description

When channels.discord.streaming is set to "block", Discord channels show a persistent "typing" indicator that never clears, even after the agent has finished responding and the message has been delivered.

Environment

  • OpenClaw version: 2026.2.24
  • Channel: Discord
  • streaming setting: "block"

Steps to Reproduce

  1. Set channels.discord.streaming: "block" in config
  2. Send a message to any Discord channel with a bound agent
  3. Agent responds successfully (message delivered)
  4. Observe: the "Bot is typing..." indicator remains visible in the channel indefinitely

Expected Behavior

The typing indicator should be cleared as soon as the agent's message is delivered.

Actual Behavior

The typing indicator persists indefinitely across all Discord channels, even after successful message delivery. Refreshing the Discord client (Ctrl+R) does not clear it.

Additional Context

  • The issue appeared after switching from streaming: "off" back to streaming: "block"
  • Multiple channels affected simultaneously
  • The issue persists across gateway restarts
  • Verified that no agent session is actively processing (all stopReason: "stop")
  • Switching briefly to streaming: "off" makes the indicator appear while processing, then clears — suggesting the block mode may not be sending the typing stop signal correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleMarked as stale due to inactivity

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions