Module

x/discordeno/transformers/mod.ts>GuildToggles

Discord API library for Deno
Latest
class GuildToggles
import { GuildToggles } from "https://dotland.deno.dev/x/discordeno@18.0.1/transformers/mod.ts";

Constructors

new
GuildToggles(guildOrTogglesBigint: DiscordGuild | bigint)

Properties

readonly
animatedBanner

Whether the guild has access to set an animated guild banner image

readonly
animatedIcon

Whether the guild has access to set an animated guild icon

readonly
autoModeration

Whether the guild has set up auto moderation rules

readonly
banner

Whether the guild has access to set a guild banner image

readonly
community

Whether the guild can enable welcome screen, Membership Screening, stage channels and discovery, and receives community updates

readonly
developerSupportServer

Whether the Guild has been set as a support server on the App Directory

readonly
discoverable

Whether the guild is able to be discovered in the directory

readonly
featurable

Whether the guild is able to be featured in the directory

readonly
features
readonly
invitesDisabled

Whether the guild has paused invites, preventing new users from joining

readonly
inviteSplash

Whether the guild has access to set an invite splash background

readonly
large

Whether this is considered a large guild

readonly
memberVerificationGateEnabled

Whether the guild has enabled Membership Screening

readonly
monetizationEnabled

Whether the guild has enabled monetization

readonly
moreStickers

Whether the guild has increased custom sticker slots

readonly
news

Whether the guild has access to create news channels

readonly
owner

Whether the bot is the owner of the guild

readonly
partnered

Whether the guild is partnered

readonly
premiumProgressBarEnabled

Whether the guild has the boost progress bar enabled

readonly
previewEnabled

Whether the guild can be previewed before joining via Membership Screening or the directory

readonly
privateThreads

Whether the guild has access to create private threads

readonly
roleIcons

Whether the guild is able to set role icons

readonly
ticketedEventsEnabled

Whether the guild has enabled ticketed events

readonly
unavailable

Whether this guild is unavailable due to an outage

readonly
vanityUrl

Whether the guild has access to set a vanity URL

readonly
verified

Whether the guild is verified

readonly
vipRegions

Whether the guild has access to set 384 kbps bitrate in voice (previously VIP voice servers)

readonly
welcomeScreenEnabled

Whether the guild has enabled the welcome screen

readonly
widgetEnabled

Whether the server widget is enabled

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.

import GuildToggles
import { GuildToggles } from "https://dotland.deno.dev/x/discordeno@18.0.1/transformers/mod.ts";