Packages

case class Guild(id: GuildId, name: String, icon: Option[String], splash: Option[String], owner: 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[String], 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]) 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.

owner

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.

Source
guild.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Guild
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. UnknownStatusGuild
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Guild(id: GuildId, name: String, icon: Option[String], splash: Option[String], owner: 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[String], 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])

    id

    The id of the guild.

    name

    The name of the guild.

    icon

    The icon hash.

    splash

    The splash hash.

    owner

    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.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val afkChannelId: Option[ChannelId]
  5. val afkTimeout: Int
  6. val applicationId: Option[RawSnowflake]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val channels: SnowflakeMap[Channel, GuildChannel]
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. val defaultMessageNotifications: NotificationLevel
  11. val embedChannelId: Option[ChannelId]
  12. val embedEnabled: Option[Boolean]
  13. val emojis: SnowflakeMap[Emoji, Emoji]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def everyoneRole: Role

    Get the everyone role in this guild.

  16. val explicitContentFilter: FilterLevel
  17. val features: Seq[String]
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. val icon: Option[String]
  21. val id: GuildId
    Definition Classes
    GuildUnknownStatusGuild
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val joinedAt: OffsetDateTime
  24. val large: Boolean
  25. val memberCount: Int
  26. val members: SnowflakeMap[User, GuildMember]
  27. def mentionEveryone: String

    Get the everyone mention for this guild.

  28. val mfaLevel: MFALevel
  29. val name: String
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. val owner: Option[Boolean]
  34. val ownerId: UserId
  35. val permissions: Option[Permission]
  36. val presences: SnowflakeMap[User, Presence]
  37. val region: String
  38. val roles: SnowflakeMap[Role, Role]
  39. val splash: Option[String]
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. val systemChannelId: Option[ChannelId]
  42. def unavailable: Boolean
    Definition Classes
    GuildUnknownStatusGuild
  43. val verificationLevel: VerificationLevel
  44. val voiceStates: SnowflakeMap[User, VoiceState]
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  48. val widgetChannelId: Option[ChannelId]
  49. val widgetEnabled: Option[Boolean]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from UnknownStatusGuild

Inherited from AnyRef

Inherited from Any

Ungrouped