Extremely Popular
Go to Latest
class MemberToggles
import { MemberToggles } from "https://dotland.deno.dev/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

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 MemberToggles
import { MemberToggles } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";