Skip to main content
Latest
function connectToVoiceChannel
import { connectToVoiceChannel } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/deps.ts";

Connect or join a voice channel inside a guild. By default, the "selfDeaf" option is true. Requires CONNECT and VIEW_CHANNEL permissions.

Parameters

bot: Bot
guildId: bigint
channelId: bigint
optional
options: AtLeastOne<Omit<UpdateVoiceState, "guildId" | "channelId">>