Skip to main content
Extremely Popular
Go to Latest
class RoleToggles
Re-export
import { RoleToggles } from "https://deno.land/x/discordeno@13.0.0-rc45/template/beginner/deps.ts";

Constructors

new
RoleToggles(role: DiscordRole)

Properties

readonly
hoist

If this role is showed seperately in the user listing

readonly
managed

Whether this role is managed by an integration

readonly
mentionable

Whether this role is mentionable

Methods

Checks whether or not the permissions exist in this

Lists all the toggles for the role and whether or not each is true or false.