Packages

c

ackcord.data

RequestsGuild

case class RequestsGuild(id: GuildId, name: String, icon: Option[String], iconHash: Option[String], splash: Option[String], discoverySplash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], 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], 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], approximateMemberCount: Option[Int], approximatePresenceCount: Option[Int], nsfwLevel: NSFWLevel, stickers: SnowflakeMap[Sticker, Sticker], premiumProgressBarEnabled: Boolean) extends Guild with Product with Serializable

A guild or server in Discord. This object is usually gotten from a request.

isOwner

If the current user is the owner of the guild.

permissions

The permissions of the current user without overwrites.

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. RequestsGuild
  2. Serializable
  3. Product
  4. Equals
  5. Guild
  6. UnknownStatusGuild
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RequestsGuild(id: GuildId, name: String, icon: Option[String], iconHash: Option[String], splash: Option[String], discoverySplash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], 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], 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], approximateMemberCount: Option[Int], approximatePresenceCount: Option[Int], nsfwLevel: NSFWLevel, stickers: SnowflakeMap[Sticker, Sticker], premiumProgressBarEnabled: Boolean)

    isOwner

    If the current user is the owner of the guild.

    permissions

    The permissions of the current user without overwrites.

    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. val afkChannelId: Option[NormalVoiceGuildChannelId]

    The channelId of the AFK channel.

    The channelId of the AFK channel.

    Definition Classes
    RequestsGuildGuild
  5. 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
    RequestsGuildGuild
  6. val applicationId: Option[ApplicationId]

    The application id if this guild is bot created.

    The application id if this guild is bot created.

    Definition Classes
    RequestsGuildGuild
  7. val approximateMemberCount: Option[Int]
  8. val approximatePresenceCount: Option[Int]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val banner: Option[String]

    A banner hash for the guild.

    A banner hash for the guild.

    Definition Classes
    RequestsGuildGuild
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  12. val defaultMessageNotifications: NotificationLevel

    The notification level for the guild.

    The notification level for the guild.

    Definition Classes
    RequestsGuildGuild
  13. val description: Option[String]

    A description for a community guild.

    A description for a community guild.

    Definition Classes
    RequestsGuildGuild
  14. val discoverySplash: Option[String]

    The discovery splash hash.

    The discovery splash hash.

    Definition Classes
    RequestsGuildGuild
  15. val emojis: SnowflakeMap[Emoji, Emoji]

    The emojis of the guild.

    The emojis of the guild.

    Definition Classes
    RequestsGuildGuild
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def everyoneRole: Role

    Get the everyone role in this guild.

    Get the everyone role in this guild.

    Definition Classes
    Guild
  18. val explicitContentFilter: FilterLevel

    The explicit content filter level for the guild.

    The explicit content filter level for the guild.

    Definition Classes
    RequestsGuildGuild
  19. val features: Seq[GuildFeature]

    The enabled guild features.

    The enabled guild features.

    Definition Classes
    RequestsGuildGuild
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. val icon: Option[String]

    The icon hash.

    The icon hash.

    Definition Classes
    RequestsGuildGuild
  22. val iconHash: Option[String]

    Used for template objects.

    Used for template objects.

    Definition Classes
    RequestsGuildGuild
  23. val id: GuildId

    The id of the guild.

    The id of the guild.

    Definition Classes
    RequestsGuildUnknownStatusGuild
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val isOwner: Option[Boolean]
  26. val maxMembers: Option[Int]

    The maximum amount of members in the guild.

    The maximum amount of members in the guild.

    Definition Classes
    RequestsGuildGuild
  27. val maxPresences: Option[Int]

    The maximum amount of presences in the guild.

    The maximum amount of presences in the guild.

    Definition Classes
    RequestsGuildGuild
  28. val maxVideoChannelUsers: Option[Int]

    The max amount of users in a video call.

    The max amount of users in a video call.

    Definition Classes
    RequestsGuildGuild
  29. def mentionEveryone: String

    Get the everyone mention for this guild.

    Get the everyone mention for this guild.

    Definition Classes
    Guild
  30. val mfaLevel: MFALevel

    The MFA level.

    The MFA level.

    Definition Classes
    RequestsGuildGuild
  31. val name: String

    The name of the guild.

    The name of the guild.

    Definition Classes
    RequestsGuildGuild
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  35. val nsfwLevel: NSFWLevel

    The guild NSFW level.

    The guild NSFW level.

    Definition Classes
    RequestsGuildGuild
  36. def owner(implicit c: CacheSnapshot): Option[User]

    Get the owner this this guild.

    Get the owner this this guild.

    Definition Classes
    Guild
  37. val ownerId: UserId

    The userId of the owner.

    The userId of the owner.

    Definition Classes
    RequestsGuildGuild
  38. val permissions: Option[Permission]
  39. val preferredLocale: Option[String]

    The preferred locale of a community guild.

    The preferred locale of a community guild.

    Definition Classes
    RequestsGuildGuild
  40. val premiumProgressBarEnabled: Boolean
  41. val premiumSubscriptionCount: Option[Int]

    How many users that are boosting the server.

    How many users that are boosting the server.

    Definition Classes
    RequestsGuildGuild
  42. val premiumTier: PremiumTier

    The premium tier of the guild.

    The premium tier of the guild.

    Definition Classes
    RequestsGuildGuild
  43. def productElementNames: Iterator[String]
    Definition Classes
    Product
  44. 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
    RequestsGuildGuild
  45. val roles: SnowflakeMap[Role, Role]

    The roles of the guild.

    The roles of the guild.

    Definition Classes
    RequestsGuildGuild
  46. 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
    RequestsGuildGuild
  47. val splash: Option[String]

    The splash hash.

    The splash hash.

    Definition Classes
    RequestsGuildGuild
  48. val stickers: SnowflakeMap[Sticker, Sticker]

    The stickers of the guild.

    The stickers of the guild.

    Definition Classes
    RequestsGuildGuild
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. val systemChannelFlags: SystemChannelFlags

    The flags for the system channel.

    The flags for the system channel.

    Definition Classes
    RequestsGuildGuild
  51. 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
    RequestsGuildGuild
  52. def toGatewayGuild(joinedAt: OffsetDateTime, large: Boolean, memberCount: Int, voiceStates: Seq[VoiceState], members: Seq[RawGuildMember], rawChannels: Seq[RawChannel], rawThreads: Seq[RawChannel], presences: Seq[RawPresence], stageInstances: Option[Seq[StageInstance]], guildScheduledEvents: Option[Seq[GuildScheduledEvent]], botUserId: Option[UserId]): GatewayGuild
  53. def unavailable: Option[Boolean]
    Definition Classes
    GuildUnknownStatusGuild
  54. val vanityUrlCode: Option[String]

    The vanity url code for the guild.

    The vanity url code for the guild.

    Definition Classes
    RequestsGuildGuild
  55. val verificationLevel: VerificationLevel

    The verification level for the guild.

    The verification level for the guild.

    Definition Classes
    RequestsGuildGuild
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. val widgetChannelId: Option[GuildChannelId]

    The channel id for the widget.

    The channel id for the widget.

    Definition Classes
    RequestsGuildGuild
  60. val widgetEnabled: Option[Boolean]

    If the widget is enabled.

    If the widget is enabled.

    Definition Classes
    RequestsGuildGuild

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Guild

Inherited from UnknownStatusGuild

Inherited from AnyRef

Inherited from Any

Ungrouped