Skip to main content
Module

x/discordeno/mod.ts>MemberToggles

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

Constructors

new
MemberToggles(member: Partial<DiscordMember>)

Properties

readonly
deaf

Whether the user belongs to an OAuth2 application

readonly
mute

Whether the user is muted in voice channels

readonly
pending

Whether the user has not yet passed the guild's Membership Screening requirements

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.