UnavailableGuild

data class UnavailableGuild(val id: Snowflake, val unavailable: Boolean) : GuildSpec(source)

Constructors

Link copied to clipboard
fun UnavailableGuild(id: Snowflake, unavailable: Boolean)

Types

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open override val afkChannelId: Nothing

id of afk channel

Link copied to clipboard
open override val afkTimeout: Nothing

afk timeout in seconds

Link copied to clipboard
open override val applicationId: Nothing

application id of the guild creator if it is bot-created

Link copied to clipboard
open override val approximateMemberCount: Nothing

approximate number of members in this guild, returned from the GET /guilds/ endpoint when with_counts is true

Link copied to clipboard

approximate number of non-offline members in this guild, returned from the GET /guilds/ endpoint when with_counts is true

Link copied to clipboard
open override val banner: Nothing

banner hash

Link copied to clipboard
open override val channels: Nothing

channels in the guild

Link copied to clipboard

default message notifications level

Link copied to clipboard
open override val description: Nothing

the description of a Community guild

Link copied to clipboard
open override val discoverySplash: Nothing

splash hash

Link copied to clipboard
open override val emojis: Nothing

custom guild emojis

Link copied to clipboard
open override val explicitContentFilter: Nothing

explicit content filter level

Link copied to clipboard
open override val features: Nothing

enabled guild features

Link copied to clipboard
open override val guildScheduledEvents: Nothing

the scheduled events in the guild

Link copied to clipboard
open override val icon: Nothing

icon hash

Link copied to clipboard
open override val iconHash: Nothing

icon hash, returned when in the template object

Link copied to clipboard
open override val id: Snowflake

guild id

Link copied to clipboard
open override val joinedAt: Nothing

when this guild was joined at

Link copied to clipboard
open override val large: Nothing

whether this is considered a large guild

Link copied to clipboard
open override val maxMembers: Nothing

the maximum number of members for the guild

Link copied to clipboard
open override val maxPresences: Nothing

the maximum number of presences for the guild (null is always returned, apart from the largest of guilds)

Link copied to clipboard
open override val maxVideoChannelUsers: Nothing

the maximum amount of users in a video channel

Link copied to clipboard
open override val memberCount: Nothing

total number of members in this guild

Link copied to clipboard
open override val members: Nothing

users in the guild

Link copied to clipboard
open override val mfaLevel: Nothing

required MFA level for the guild

Link copied to clipboard
open override val name: Nothing

guild name

Link copied to clipboard
open override val nsfwLevel: Nothing

guild NSFW level

Link copied to clipboard
open override val owner: Nothing

whether or not the user is the owner of the guild

Link copied to clipboard
open override val ownerId: Nothing

id of owner

Link copied to clipboard
open override val permissions: Nothing

total permissions for the user in the guild (excludes overwrites)

Link copied to clipboard
open override val preferredLocale: Nothing

the preferred locale of a Community guild; used in server discovery and notices from Discord, and sent in interactions

Link copied to clipboard

whether the guild has the boost progress bar enabled

Link copied to clipboard

the number of boosts this guild currently has

Link copied to clipboard
open override val premiumTier: Nothing

premium tier (Server Boost level)

Link copied to clipboard
open override val publicUpdatesChannelId: Nothing

the id of the channel where admins and moderators of Community guilds receive notices from Discord

Link copied to clipboard
open override val roles: Nothing

roles in the guild

Link copied to clipboard
open override val rulesChannelId: Nothing

the id of the channel where "PUBLIC" guilds display rules and/or guidelines

Link copied to clipboard
open override val splash: Nothing

splash hash

Link copied to clipboard
open override val stageInstances: Nothing

Stage instances in the guild

Link copied to clipboard
open override val stickers: Nothing

custom guild stickers

Link copied to clipboard
open override val systemChannelFlags: Nothing

system channel flags

Link copied to clipboard
open override val systemChannelId: Nothing

the id of the channel to which system messages are sent

Link copied to clipboard
open override val threads: Nothing

all active threads in the guild that current user has permission to view

Link copied to clipboard
open override val unavailable: Boolean

is this guild unavailable

Link copied to clipboard
open override val vanityUrlCode: Nothing

the vanity url code for the guild

Link copied to clipboard
open override val verificationLevel: Nothing

verification level required for the guild

Link copied to clipboard
open override val voiceStates: Nothing

voice states for current guild (without guild_id key)

Link copied to clipboard
open override val welcomeScreen: Nothing

the welcome screen of a Community guild, shown to new members, returned in an Invite's guild object

Link copied to clipboard
open override val widgetChannelId: Nothing

the channel id that the widget will generate an invite to, or null if set to no invite

Link copied to clipboard
open override val widgetEnabled: Nothing

whether or not the server widget is enabled