Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class MemberToggles
Re-export
import { MemberToggles } from "https://deno.land/x/discordeno@17.0.1/packages/embeds/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

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.