class UserToggles
extends ToggleBitfield
Re-export
import { UserToggles } from "https://deno.land/x/discordeno@17.2.0/template/minimal/deps.ts";
Constructors
new
UserToggles(user: DiscordUser)Properties
Whether the user is an Official Discord System user (part of the urgent message system)
Methods
has(permissions: UserToggleKeys | UserToggleKeys[])
Checks whether or not the permissions exist in this
list()
Lists all the toggles for the role and whether or not each is true or false.