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

x/oasis/tests/deps.ts>VoiceStateToggles

An object oriented Discordeno framework
Latest
class VoiceStateToggles
Re-export
import { VoiceStateToggles } from "https://deno.land/x/oasis@2.1.0/tests/deps.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.

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.