class UserToggles
extends ToggleBitfield
Re-export
import { UserToggles } from "https://deno.land/x/discordeno@17.0.1/packages/embeds/deps.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.