Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/harmony/src/structures/guildVoiceChannel.ts>VoiceChannel

An easy to use Discord API Library for Deno.
Go to Latest
class VoiceChannel
extends GuildChannel
import { VoiceChannel } from "https://deno.land/x/harmony@v2.6.0/src/structures/guildVoiceChannel.ts";

Constructors

new
VoiceChannel(
client: Client,
guild: Guild,
)

Properties

bitrate: string
userLimit: number

Methods

disconnectAll(): Promise<Member[]>
disconnectMember(member: User | Member | string): Promise<Member | undefined>

Join the Voice Channel

leave(): Promise<void>

Leave the Voice Channel

setBitrate(rate: number | undefined): Promise<VoiceChannel>
setUserLimit(limit: number | undefined): Promise<VoiceChannel>