case class Guild(id: GuildId, name: String, icon: Option[String], splash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], region: String, afkChannelId: Option[ChannelId], afkTimeout: Int, embedEnabled: Option[Boolean], embedChannelId: Option[ChannelId], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: SnowflakeMap[Role, Role], emojis: SnowflakeMap[Emoji, Emoji], features: Seq[GuildFeature], mfaLevel: MFALevel, applicationId: Option[RawSnowflake], widgetEnabled: Option[Boolean], widgetChannelId: Option[ChannelId], systemChannelId: Option[ChannelId], joinedAt: OffsetDateTime, large: Boolean, memberCount: Int, voiceStates: SnowflakeMap[User, VoiceState], members: SnowflakeMap[User, GuildMember], channels: SnowflakeMap[Channel, GuildChannel], presences: SnowflakeMap[User, Presence], maxPresences: Int, maxMembers: Option[Int], vanityUrlCode: Option[String], description: Option[String], banner: Option[String], premiumTier: PremiumTier, premiumSubscriptionCount: Option[Int], preferredLocale: Option[String]) extends UnknownStatusGuild with Product with Serializable
A guild or server in Discord.
- id
The id of the guild.
- name
The name of the guild.
- icon
The icon hash.
- splash
The splash hash.
- isOwner
If the current user is the owner of the guild.
- ownerId
The userId of the owner.
- permissions
The permissions of the current user without overwrites.
- region
The voice region
- afkChannelId
The channelId of the AFK channel.
- afkTimeout
The amount of seconds you need to be AFK before being moved to the AFK channel.
- embedEnabled
If the embed is enabled.
- embedChannelId
The channelId for the embed.
- verificationLevel
The verification level for the guild.
- defaultMessageNotifications
The notification level for the guild.
- explicitContentFilter
The explicit content filter level for the guild.
- roles
The roles of the guild.
- emojis
The emojis of the guild.
- features
The enabled guild features.
- mfaLevel
The MFA level.
- applicationId
The application id if this guild is bot created.
- widgetEnabled
If the widget is enabled.
- widgetChannelId
The channel id for the widget.
- systemChannelId
The channel which system messages are sent to.
- 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.
- maxPresences
The maximum amount of presences in the guild.
- maxMembers
The maximum amount of members in the guild.
- vanityUrlCode
The vanity url code for the guild.
- description
A descriptiom fpr the guild.
- banner
A banner hash for the guild.
- premiumTier
The premium tier of the guild.
- premiumSubscriptionCount
How many users that are boosting the server.
- Alphabetic
- By Inheritance
- Guild
- Serializable
- Serializable
- Product
- Equals
- UnknownStatusGuild
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Guild(id: GuildId, name: String, icon: Option[String], splash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], region: String, afkChannelId: Option[ChannelId], afkTimeout: Int, embedEnabled: Option[Boolean], embedChannelId: Option[ChannelId], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: SnowflakeMap[Role, Role], emojis: SnowflakeMap[Emoji, Emoji], features: Seq[GuildFeature], mfaLevel: MFALevel, applicationId: Option[RawSnowflake], widgetEnabled: Option[Boolean], widgetChannelId: Option[ChannelId], systemChannelId: Option[ChannelId], joinedAt: OffsetDateTime, large: Boolean, memberCount: Int, voiceStates: SnowflakeMap[User, VoiceState], members: SnowflakeMap[User, GuildMember], channels: SnowflakeMap[Channel, GuildChannel], presences: SnowflakeMap[User, Presence], maxPresences: Int, maxMembers: Option[Int], vanityUrlCode: Option[String], description: Option[String], banner: Option[String], premiumTier: PremiumTier, premiumSubscriptionCount: Option[Int], preferredLocale: Option[String])
- id
The id of the guild.
- name
The name of the guild.
- icon
The icon hash.
- splash
The splash hash.
- isOwner
If the current user is the owner of the guild.
- ownerId
The userId of the owner.
- permissions
The permissions of the current user without overwrites.
- region
The voice region
- afkChannelId
The channelId of the AFK channel.
- afkTimeout
The amount of seconds you need to be AFK before being moved to the AFK channel.
- embedEnabled
If the embed is enabled.
- embedChannelId
The channelId for the embed.
- verificationLevel
The verification level for the guild.
- defaultMessageNotifications
The notification level for the guild.
- explicitContentFilter
The explicit content filter level for the guild.
- roles
The roles of the guild.
- emojis
The emojis of the guild.
- features
The enabled guild features.
- mfaLevel
The MFA level.
- applicationId
The application id if this guild is bot created.
- widgetEnabled
If the widget is enabled.
- widgetChannelId
The channel id for the widget.
- systemChannelId
The channel which system messages are sent to.
- 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.
- maxPresences
The maximum amount of presences in the guild.
- maxMembers
The maximum amount of members in the guild.
- vanityUrlCode
The vanity url code for the guild.
- description
A descriptiom fpr the guild.
- banner
A banner hash for the guild.
- premiumTier
The premium tier of the guild.
- premiumSubscriptionCount
How many users that are boosting the server.
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[VGuildChannel]
Get the AFK channel of this guild.
- val afkChannelId: Option[ChannelId]
- val afkTimeout: Int
- val applicationId: Option[RawSnowflake]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val banner: Option[String]
- val channels: SnowflakeMap[Channel, GuildChannel]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val defaultMessageNotifications: NotificationLevel
- val description: Option[String]
-
def
embedChannel: Option[GuildChannel]
Get the AFK channel of this guild.
- val embedChannelId: Option[ChannelId]
- val embedEnabled: Option[Boolean]
- val emojis: SnowflakeMap[Emoji, Emoji]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
everyoneRole: Role
Get the everyone role in this guild.
- val explicitContentFilter: FilterLevel
- val features: Seq[GuildFeature]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val icon: Option[String]
-
val
id: GuildId
- Definition Classes
- Guild → UnknownStatusGuild
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isOwner: Option[Boolean]
- val joinedAt: OffsetDateTime
- val large: Boolean
- val maxMembers: Option[Int]
- val maxPresences: Int
- val memberCount: Int
- val members: SnowflakeMap[User, GuildMember]
-
def
mentionEveryone: String
Get the everyone mention for this guild.
- val mfaLevel: MFALevel
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
owner(implicit c: CacheSnapshot): Option[User]
Get the owner this this guild.
- val ownerId: UserId
- val permissions: Option[Permission]
- val preferredLocale: Option[String]
- val premiumSubscriptionCount: Option[Int]
- val premiumTier: PremiumTier
- val presences: SnowflakeMap[User, Presence]
- val region: String
- val roles: SnowflakeMap[Role, Role]
- val splash: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
systemChannel: Option[TGuildChannel]
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 systemChannelId: Option[ChannelId]
-
def
unavailable: Boolean
- Definition Classes
- Guild → UnknownStatusGuild
- val vanityUrlCode: Option[String]
- val verificationLevel: VerificationLevel
- val voiceStates: SnowflakeMap[User, VoiceState]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
widgetChannel: Option[GuildChannel]
Get the widget channel of this guild.
- val widgetChannelId: Option[ChannelId]
- val widgetEnabled: Option[Boolean]