Skip to main content
Module

x/discordeno/mod.ts>VoiceStateToggles

Discord API library for Deno
Go to Latest
class VoiceStateToggles
Re-export
import { VoiceStateToggles } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.ts";

Constructors

new
VoiceStateToggles(voice: DiscordVoiceState)

Properties

readonly
deaf

Whether this user is deafened by the server

readonly
mute

Whether this user is muted by the server

readonly
selfDeaf

Whether this user is locally deafened

readonly
selfMute

Whether this user is locally muted

readonly
selfStream

Whether this user is streaming using "Go Live"

readonly
selfVideo

Whether this user's camera is enabled

readonly
suppress

Whether this user is muted by the current user

Methods

Checks whether or not the permissions exist in this

Lists all the toggles for the role and whether or not each is true or false.