Packages

case class Guild(id: GuildId, name: String, icon: Option[String], iconHash: Option[String], splash: Option[String], discoverySplash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], region: String, afkChannelId: Option[VoiceGuildChannelId], afkTimeout: Int, 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[GuildChannelId], 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], 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], publicUpdatesChannelId: Option[TextGuildChannelId], maxVideoChannelUsers: Option[Int], approximateMemberCount: Option[Int], approximatePresenceCount: Option[Int]) 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.

iconHash

Used for template objects.

splash

The splash hash.

discoverySplash

The discovery 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.

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 notices like welcome and boost messages are sent to.

systemChannelFlags

The flags for the system channel

rulesChannelId

The id for the channel where the rules of a guild are stored.

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.

preferredLocale

The preferred locale of a community 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.

approximateMemberCount

Roughly how many members there is in the guild. Present when gotten from the ackcord.requests.GetGuild endpoint with withCounts = true

approximatePresenceCount

Roughly how many presences there is in the guild. Present when gotten from the ackcord.requests.GetGuild endpoint with withCounts = true

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

Instance Constructors

  1. new Guild(id: GuildId, name: String, icon: Option[String], iconHash: Option[String], splash: Option[String], discoverySplash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], region: String, afkChannelId: Option[VoiceGuildChannelId], afkTimeout: Int, 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[GuildChannelId], 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], 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], publicUpdatesChannelId: Option[TextGuildChannelId], maxVideoChannelUsers: Option[Int], approximateMemberCount: Option[Int], approximatePresenceCount: Option[Int])

    id

    The id of the guild.

    name

    The name of the guild.

    icon

    The icon hash.

    iconHash

    Used for template objects.

    splash

    The splash hash.

    discoverySplash

    The discovery 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.

    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 notices like welcome and boost messages are sent to.

    systemChannelFlags

    The flags for the system channel

    rulesChannelId

    The id for the channel where the rules of a guild are stored.

    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.

    preferredLocale

    The preferred locale of a community 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.

    approximateMemberCount

    Roughly how many members there is in the guild. Present when gotten from the ackcord.requests.GetGuild endpoint with withCounts = true

    approximatePresenceCount

    Roughly how many presences there is in the guild. Present when gotten from the ackcord.requests.GetGuild endpoint with withCounts = true

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. def afkChannel: Option[VoiceGuildChannel]

    Get the AFK channel of this guild.

  5. val afkChannelId: Option[VoiceGuildChannelId]
  6. val afkTimeout: Int
  7. val applicationId: Option[RawSnowflake]
  8. val approximateMemberCount: Option[Int]
  9. val approximatePresenceCount: Option[Int]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. val banner: Option[String]
  12. val channels: SnowflakeMap[GuildChannel, GuildChannel]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. val defaultMessageNotifications: NotificationLevel
  15. val description: Option[String]
  16. val discoverySplash: Option[String]
  17. val emojis: SnowflakeMap[Emoji, Emoji]
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def everyoneRole: Role

    Get the everyone role in this guild.

  20. val explicitContentFilter: FilterLevel
  21. val features: Seq[GuildFeature]
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. val icon: Option[String]
  25. val iconHash: Option[String]
  26. val id: GuildId
    Definition Classes
    GuildUnknownStatusGuild
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val isOwner: Option[Boolean]
  29. val joinedAt: OffsetDateTime
  30. val large: Boolean
  31. val maxMembers: Option[Int]
  32. val maxPresences: Int
  33. val maxVideoChannelUsers: Option[Int]
  34. val memberCount: Int
  35. val members: SnowflakeMap[User, GuildMember]
  36. def mentionEveryone: String

    Get the everyone mention for this guild.

  37. val mfaLevel: MFALevel
  38. val name: String
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. def owner(implicit c: CacheSnapshot): Option[User]

    Get the owner this this guild.

  43. val ownerId: UserId
  44. val permissions: Option[Permission]
  45. val preferredLocale: Option[String]
  46. val premiumSubscriptionCount: Option[Int]
  47. val premiumTier: PremiumTier
  48. val presences: SnowflakeMap[User, Presence]
  49. def productElementNames: Iterator[String]
    Definition Classes
    Product
  50. val publicUpdatesChannelId: Option[TextGuildChannelId]
  51. val region: String
  52. val roles: SnowflakeMap[Role, Role]
  53. val rulesChannelId: Option[TextGuildChannelId]
  54. val splash: Option[String]
  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. 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.

  57. val systemChannelFlags: SystemChannelFlags
  58. val systemChannelId: Option[TextGuildChannelId]
  59. def unavailable: Option[Boolean]
    Definition Classes
    GuildUnknownStatusGuild
  60. val vanityUrlCode: Option[String]
  61. val verificationLevel: VerificationLevel
  62. val voiceStates: SnowflakeMap[User, VoiceState]
  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  66. def widgetChannel: Option[GuildChannel]

    Get the widget channel of this guild.

  67. val widgetChannelId: Option[GuildChannelId]
  68. val widgetEnabled: Option[Boolean]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from UnknownStatusGuild

Inherited from AnyRef

Inherited from Any

Ungrouped