class GuildToggles
extends ToggleBitfieldBigint
Re-export
import { GuildToggles } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";
Constructors
new
GuildToggles(guild: DiscordGuild)Properties
Whether the guild can enable welcome screen, Membership Screening, stage channels and discovery, and receives community updates
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.