Latest
class VoiceStateToggles
import { VoiceStateToggles } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";

Constructors

new
VoiceStateToggles(voiceOrTogglesInt: DiscordVoiceState | number)

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.

import VoiceStateToggles
import { VoiceStateToggles } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";