#how to make our bot join a vocal channel?
1 messages ยท Page 1 of 1 (latest)
In OpenClaw, Discord voice is controlled via the native Discord slash command:
/vc join/vc leave/vc status
What you need for it to work:
-
Native commands enabled
commands.native(orchannels.discord.commands.native) must be on. ("auto"is the default and should already enable it for Discord.)
Docs: https://docs.openclaw.ai/tools/slash-commands -
Voice enabled + configured
Setchannels.discord.voice(at minimumenabled: true). Example auto-join config:
{
channels: {
discord: {
voice: {
enabled: true,
autoJoin: [
{ guildId: "123456789012345678", channelId: "234567890123456789" }
]
}
}
}
}
- Discord permissions
Your bot must have Connect + Speak in that specific voice channel.