Skip to main content
Module

x/discordeno/mod.ts>UserToggles

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

Constructors

new
UserToggles(user: DiscordUser)

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.