Class

net.katsstuff.ackcord.data

Guild

Related Doc: package data

Permalink

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.

Linear Supertypes
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])

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val afkChannelId: Option[ChannelId]

    Permalink

    The channelId of the AFK channel.

  5. val afkTimeout: Int

    Permalink

    The amount of seconds you need to be AFK before being moved to the AFK channel.

  6. val applicationId: Option[RawSnowflake]

    Permalink

    The application id if this guild is bot created.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val channels: SnowflakeMap[Channel, GuildChannel]

    Permalink

    The channels in the guild.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val defaultMessageNotifications: NotificationLevel

    Permalink

    The notification level for the guild.

  11. val embedChannelId: Option[ChannelId]

    Permalink

    The channelId for the embed.

  12. val embedEnabled: Option[Boolean]

    Permalink

    If the embed is enabled.

  13. val emojis: SnowflakeMap[Emoji, Emoji]

    Permalink

    The emojis of the guild.

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def everyoneRole: Role

    Permalink

    Get the everyone role in this guild.

  16. val explicitContentFilter: FilterLevel

    Permalink

    The explicit content filter level for the guild.

  17. val features: Seq[String]

    Permalink

    The enabled guild features.

  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. val icon: Option[String]

    Permalink

    The icon hash.

  21. val id: GuildId

    Permalink

    The id of the guild.

    The id of the guild.

    Definition Classes
    GuildUnknownStatusGuild
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val joinedAt: OffsetDateTime

    Permalink

    When the client joined the guild.

  24. val large: Boolean

    Permalink

    If this guild is above the large threshold.

  25. val memberCount: Int

    Permalink

    The amount of members in the guild.

  26. val members: SnowflakeMap[User, GuildMember]

    Permalink

    The guild members in the guild.

  27. def mentionEveryone: String

    Permalink

    Get the everyone mention for this guild.

  28. val mfaLevel: MFALevel

    Permalink

    The MFA level.

  29. val name: String

    Permalink

    The name of the guild.

  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. val owner: Option[Boolean]

    Permalink

    If the current user is the owner of the guild.

  34. val ownerId: UserId

    Permalink

    The userId of the owner.

  35. val permissions: Option[Permission]

    Permalink

    The permissions of the current user without overwrites.

  36. val presences: SnowflakeMap[User, Presence]

    Permalink

    The presences in the guild.

  37. val region: String

    Permalink

    The voice region

  38. val roles: SnowflakeMap[Role, Role]

    Permalink

    The roles of the guild.

  39. val splash: Option[String]

    Permalink

    The splash hash.

  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. val systemChannelId: Option[ChannelId]

    Permalink

    The channel which system messages are sent to.

  42. def unavailable: Boolean

    Permalink
    Definition Classes
    GuildUnknownStatusGuild
  43. val verificationLevel: VerificationLevel

    Permalink

    The verification level for the guild.

  44. val voiceStates: SnowflakeMap[User, VoiceState]

    Permalink

    The voice states of the guild.

  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. val widgetChannelId: Option[ChannelId]

    Permalink

    The channel id for the widget.

  49. val widgetEnabled: Option[Boolean]

    Permalink

    If the widget is enabled.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from UnknownStatusGuild

Inherited from AnyRef

Inherited from Any

Ungrouped