class RoleToggles
extends ToggleBitfield
Re-export
import { RoleToggles } from "https://deno.land/x/discordeno@17.2.0/template/minimal/deps.ts";
Constructors
new
RoleToggles(role: DiscordRole)Methods
has(permissions: RoleToggleKeys | RoleToggleKeys[])
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.