class UserToggles
extends ToggleBitfield
import { UserToggles } from "https://deno.land/x/discordeno@17.2.0/transformers/toggles/user.ts";
Constructors
new
UserToggles(userOrTogglesInt: DiscordUser | number)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.