Skip to main content
Module

x/natico/deps.ts>connectToVoiceChannel

A powerful and customizable framework for Discordeno
Latest
function connectToVoiceChannel
import { connectToVoiceChannel } from "https://deno.land/x/natico@4.0.0-pre.4/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">>