case class GatewayGuild(id: GuildId, name: String, icon: Option[String], iconHash: Option[String], splash: Option[String], discoverySplash: Option[String], ownerId: UserId, afkChannelId: Option[NormalVoiceGuildChannelId], afkTimeout: Int, widgetEnabled: Option[Boolean], widgetChannelId: Option[GuildChannelId], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: SnowflakeMap[Role, Role], emojis: SnowflakeMap[Emoji, Emoji], features: Seq[GuildFeature], mfaLevel: MFALevel, applicationId: Option[ApplicationId], systemChannelId: Option[TextGuildChannelId], systemChannelFlags: SystemChannelFlags, rulesChannelId: Option[TextGuildChannelId], joinedAt: OffsetDateTime, large: Boolean, memberCount: Int, voiceStates: SnowflakeMap[User, VoiceState], members: SnowflakeMap[User, GuildMember], channels: SnowflakeMap[GuildChannel, GuildChannel], threads: SnowflakeMap[ThreadGuildChannel, ThreadGuildChannel], presences: SnowflakeMap[User, Presence], maxPresences: Option[Int], maxMembers: Option[Int], vanityUrlCode: Option[String], description: Option[String], banner: Option[String], premiumTier: PremiumTier, premiumSubscriptionCount: Option[Int], preferredLocale: Option[String], publicUpdatesChannelId: Option[TextGuildChannelId], maxVideoChannelUsers: Option[Int], nsfwLevel: NSFWLevel, stageInstances: SnowflakeMap[StageInstance, StageInstance], stickers: SnowflakeMap[Sticker, Sticker], guildScheduledEvents: SnowflakeMap[GuildScheduledEvent, GuildScheduledEvent], premiumProgressBarEnabled: Boolean) extends Guild with Product with Serializable
A guild or server in Discord received over the Gateway.
- joinedAt
When the client joined the guild.
- large
If this guild is above the large threshold.
- memberCount
The amount of members in the guild.
- voiceStates
The voice states of the guild.
- members
The guild members in the guild.
- channels
The channels in the guild.
- presences
The presences in the guild.
- publicUpdatesChannelId
The channel where admin and mods can see public updates are sent to public guilds.
- maxVideoChannelUsers
The max amount of users in a video call.
- Source
- guild.scala
- Alphabetic
- By Inheritance
- GatewayGuild
- Serializable
- Product
- Equals
- Guild
- UnknownStatusGuild
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GatewayGuild(id: GuildId, name: String, icon: Option[String], iconHash: Option[String], splash: Option[String], discoverySplash: Option[String], ownerId: UserId, afkChannelId: Option[NormalVoiceGuildChannelId], afkTimeout: Int, widgetEnabled: Option[Boolean], widgetChannelId: Option[GuildChannelId], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: SnowflakeMap[Role, Role], emojis: SnowflakeMap[Emoji, Emoji], features: Seq[GuildFeature], mfaLevel: MFALevel, applicationId: Option[ApplicationId], systemChannelId: Option[TextGuildChannelId], systemChannelFlags: SystemChannelFlags, rulesChannelId: Option[TextGuildChannelId], joinedAt: OffsetDateTime, large: Boolean, memberCount: Int, voiceStates: SnowflakeMap[User, VoiceState], members: SnowflakeMap[User, GuildMember], channels: SnowflakeMap[GuildChannel, GuildChannel], threads: SnowflakeMap[ThreadGuildChannel, ThreadGuildChannel], presences: SnowflakeMap[User, Presence], maxPresences: Option[Int], maxMembers: Option[Int], vanityUrlCode: Option[String], description: Option[String], banner: Option[String], premiumTier: PremiumTier, premiumSubscriptionCount: Option[Int], preferredLocale: Option[String], publicUpdatesChannelId: Option[TextGuildChannelId], maxVideoChannelUsers: Option[Int], nsfwLevel: NSFWLevel, stageInstances: SnowflakeMap[StageInstance, StageInstance], stickers: SnowflakeMap[Sticker, Sticker], guildScheduledEvents: SnowflakeMap[GuildScheduledEvent, GuildScheduledEvent], premiumProgressBarEnabled: Boolean)
- joinedAt
When the client joined the guild.
- large
If this guild is above the large threshold.
- memberCount
The amount of members in the guild.
- voiceStates
The voice states of the guild.
- members
The guild members in the guild.
- channels
The channels in the guild.
- presences
The presences in the guild.
- publicUpdatesChannelId
The channel where admin and mods can see public updates are sent to public guilds.
- maxVideoChannelUsers
The max amount of users in a video call.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def afkChannel: Option[NormalVoiceGuildChannel]
Get the AFK channel of this guild.
- val afkChannelId: Option[NormalVoiceGuildChannelId]
The channelId of the AFK channel.
The channelId of the AFK channel.
- Definition Classes
- GatewayGuild → Guild
- val afkTimeout: Int
The amount of seconds you need to be AFK before being moved to the AFK channel.
The amount of seconds you need to be AFK before being moved to the AFK channel.
- Definition Classes
- GatewayGuild → Guild
- val applicationId: Option[ApplicationId]
The application id if this guild is bot created.
The application id if this guild is bot created.
- Definition Classes
- GatewayGuild → Guild
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val banner: Option[String]
A banner hash for the guild.
A banner hash for the guild.
- Definition Classes
- GatewayGuild → Guild
- val channels: SnowflakeMap[GuildChannel, GuildChannel]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val defaultMessageNotifications: NotificationLevel
The notification level for the guild.
The notification level for the guild.
- Definition Classes
- GatewayGuild → Guild
- val description: Option[String]
A description for a community guild.
A description for a community guild.
- Definition Classes
- GatewayGuild → Guild
- val discoverySplash: Option[String]
The discovery splash hash.
The discovery splash hash.
- Definition Classes
- GatewayGuild → Guild
- val emojis: SnowflakeMap[Emoji, Emoji]
The emojis of the guild.
The emojis of the guild.
- Definition Classes
- GatewayGuild → Guild
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def everyoneRole: Role
Get the everyone role in this guild.
Get the everyone role in this guild.
- Definition Classes
- Guild
- val explicitContentFilter: FilterLevel
The explicit content filter level for the guild.
The explicit content filter level for the guild.
- Definition Classes
- GatewayGuild → Guild
- val features: Seq[GuildFeature]
The enabled guild features.
The enabled guild features.
- Definition Classes
- GatewayGuild → Guild
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val guildScheduledEvents: SnowflakeMap[GuildScheduledEvent, GuildScheduledEvent]
- val icon: Option[String]
The icon hash.
The icon hash.
- Definition Classes
- GatewayGuild → Guild
- val iconHash: Option[String]
Used for template objects.
Used for template objects.
- Definition Classes
- GatewayGuild → Guild
- val id: GuildId
The id of the guild.
The id of the guild.
- Definition Classes
- GatewayGuild → UnknownStatusGuild
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val joinedAt: OffsetDateTime
- val large: Boolean
- val maxMembers: Option[Int]
The maximum amount of members in the guild.
The maximum amount of members in the guild.
- Definition Classes
- GatewayGuild → Guild
- val maxPresences: Option[Int]
The maximum amount of presences in the guild.
The maximum amount of presences in the guild.
- Definition Classes
- GatewayGuild → Guild
- val maxVideoChannelUsers: Option[Int]
The max amount of users in a video call.
The max amount of users in a video call.
- Definition Classes
- GatewayGuild → Guild
- val memberCount: Int
- val members: SnowflakeMap[User, GuildMember]
- def mentionEveryone: String
Get the everyone mention for this guild.
Get the everyone mention for this guild.
- Definition Classes
- Guild
- val mfaLevel: MFALevel
The MFA level.
The MFA level.
- Definition Classes
- GatewayGuild → Guild
- val name: String
The name of the guild.
The name of the guild.
- Definition Classes
- GatewayGuild → Guild
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val nsfwLevel: NSFWLevel
The guild NSFW level.
The guild NSFW level.
- Definition Classes
- GatewayGuild → Guild
- def owner(implicit c: CacheSnapshot): Option[User]
Get the owner this this guild.
Get the owner this this guild.
- Definition Classes
- Guild
- val ownerId: UserId
The userId of the owner.
The userId of the owner.
- Definition Classes
- GatewayGuild → Guild
- val preferredLocale: Option[String]
The preferred locale of a community guild.
The preferred locale of a community guild.
- Definition Classes
- GatewayGuild → Guild
- val premiumProgressBarEnabled: Boolean
- val premiumSubscriptionCount: Option[Int]
How many users that are boosting the server.
How many users that are boosting the server.
- Definition Classes
- GatewayGuild → Guild
- val premiumTier: PremiumTier
The premium tier of the guild.
The premium tier of the guild.
- Definition Classes
- GatewayGuild → Guild
- val presences: SnowflakeMap[User, Presence]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val publicUpdatesChannelId: Option[TextGuildChannelId]
The channel where admin and mods can see public updates are sent to public guilds.
The channel where admin and mods can see public updates are sent to public guilds.
- Definition Classes
- GatewayGuild → Guild
- val roles: SnowflakeMap[Role, Role]
The roles of the guild.
The roles of the guild.
- Definition Classes
- GatewayGuild → Guild
- val rulesChannelId: Option[TextGuildChannelId]
The id for the channel where the rules of a guild are stored.
The id for the channel where the rules of a guild are stored.
- Definition Classes
- GatewayGuild → Guild
- val splash: Option[String]
The splash hash.
The splash hash.
- Definition Classes
- GatewayGuild → Guild
- val stageInstances: SnowflakeMap[StageInstance, StageInstance]
- val stickers: SnowflakeMap[Sticker, Sticker]
The stickers of the guild.
The stickers of the guild.
- Definition Classes
- GatewayGuild → Guild
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def systemChannel: Option[TextGuildChannel]
Get the system channel of this guild.
Get the system channel of this guild. This is the first channel new users see when they join the guild.
- val systemChannelFlags: SystemChannelFlags
The flags for the system channel.
The flags for the system channel.
- Definition Classes
- GatewayGuild → Guild
- val systemChannelId: Option[TextGuildChannelId]
The channel which notices like welcome and boost messages are sent to.
The channel which notices like welcome and boost messages are sent to.
- Definition Classes
- GatewayGuild → Guild
- val threads: SnowflakeMap[ThreadGuildChannel, ThreadGuildChannel]
- def unavailable: Option[Boolean]
- Definition Classes
- Guild → UnknownStatusGuild
- val vanityUrlCode: Option[String]
The vanity url code for the guild.
The vanity url code for the guild.
- Definition Classes
- GatewayGuild → Guild
- val verificationLevel: VerificationLevel
The verification level for the guild.
The verification level for the guild.
- Definition Classes
- GatewayGuild → Guild
- val voiceStates: SnowflakeMap[User, VoiceState]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def widgetChannel: Option[GuildChannel]
Get the widget channel of this guild.
- val widgetChannelId: Option[GuildChannelId]
The channel id for the widget.
The channel id for the widget.
- Definition Classes
- GatewayGuild → Guild
- val widgetEnabled: Option[Boolean]
If the widget is enabled.
If the widget is enabled.
- Definition Classes
- GatewayGuild → Guild