class RoleToggles
extends ToggleBitfield
import { RoleToggles } from "https://deno.land/x/discordeno@18.0.1/transformers/toggles/role.ts";
Constructors
new
RoleToggles(roleOrTogglesInt: DiscordRole | number)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.