Skip to content

Discord: voice input callback not wired at adapter connect — silent voice until /voice join #60623

Description

@CodeChallenged-Pat

Problem

Voice is transcribed and logged but never forwarded to the agent as an inbound message until the user explicitly runs /voice join. The _voice_input_callback is only set in _handle_voice_channel_join, not at adapter connect time. This affects any path where the bot joins voice without using the slash command.

Fix

In gateway/run.py, after _sync_voice_mode_state_to_adapter(adapter), also set:

if hasattr(adapter, "_voice_input_callback"):
    adapter._voice_input_callback = self._handle_voice_channel_input

Impact

Voice transcripts from auto-joined or programmatically-joined channels are silently dropped. Users hear themselves but get no response.

Environment

Windows 10, Hermes v0.18.1, DeepSeek V4 Pro

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havecomp/gatewayGateway runner, session dispatch, deliveryplatform/discordDiscord bot adaptertype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions