Extremely Popular
Go to Latest
class UserToggles
import { UserToggles } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";

Constructors

new
UserToggles(userOrTogglesInt: DiscordUser | number)

Properties

readonly
bot

Whether the user belongs to an OAuth2 application

readonly
mfaEnabled

Whether the user has two factor enabled on their account

readonly
system

Whether the user is an Official Discord System user (part of the urgent message system)

readonly
verified

Whether the email on this account has been verified

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