class GuildToggles
extends ToggleBitfieldBigint
Re-export
import { GuildToggles } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";
Constructors
new
GuildToggles(guildOrTogglesBigint: DiscordGuild | bigint)Properties
Whether the guild can enable welcome screen, Membership Screening, stage channels and discovery, and receives community updates
Whether the Guild has been set as a support server on the App Directory
Whether the guild has enabled Membership Screening
Whether the guild can be previewed before joining via Membership Screening or the directory
Whether the guild has access to set 384 kbps bitrate in voice (previously VIP voice servers)
Methods
has(permissions: GuildToggleKeys | GuildToggleKeys[])
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.