Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
class MemberToggles
extends ToggleBitfield
Re-export
import { MemberToggles } from "https://deno.land/x/discordeno@17.2.0/plugins/validations/deps.ts";

Constructors

new
MemberToggles(memberOrTogglesInt: Partial<DiscordMember> | number)

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

has(permissions: MemberToggleKeys | MemberToggleKeys[])

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.