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

    The channelId of the AFK channel.

    The channelId of the AFK channel.

    Definition Classes
    RequestsGuildGuild
  2. 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
  3. 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
  4. val approximateMemberCount: Option[Int]
  5. val approximatePresenceCount: Option[Int]
  6. val banner: Option[String]

    A banner hash for the guild.

    A banner hash for the guild.

    Definition Classes
    RequestsGuildGuild
  7. val defaultMessageNotifications: NotificationLevel

    The notification level for the guild.

    The notification level for the guild.

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

    A description for a community guild.

    A description for a community guild.

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

    The discovery splash hash.

    The discovery splash hash.

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

    The emojis of the guild.

    The emojis of the guild.

    Definition Classes
    RequestsGuildGuild
  11. def everyoneRole: Role

    Get the everyone role in this guild.

    Get the everyone role in this guild.

    Definition Classes
    Guild
  12. val explicitContentFilter: FilterLevel

    The explicit content filter level for the guild.

    The explicit content filter level for the guild.

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

    The enabled guild features.

    The enabled guild features.

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

    The icon hash.

    The icon hash.

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

    Used for template objects.

    Used for template objects.

    Definition Classes
    RequestsGuildGuild
  16. val id: GuildId

    The id of the guild.

    The id of the guild.

    Definition Classes
    RequestsGuildUnknownStatusGuild
  17. val isOwner: Option[Boolean]
  18. val maxMembers: Option[Int]

    The maximum amount of members in the guild.

    The maximum amount of members in the guild.

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

    The maximum amount of presences in the guild.

    The maximum amount of presences in the guild.

    Definition Classes
    RequestsGuildGuild
  20. 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
  21. def mentionEveryone: String

    Get the everyone mention for this guild.

    Get the everyone mention for this guild.

    Definition Classes
    Guild
  22. val mfaLevel: MFALevel

    The MFA level.

    The MFA level.

    Definition Classes
    RequestsGuildGuild
  23. val name: String

    The name of the guild.

    The name of the guild.

    Definition Classes
    RequestsGuildGuild
  24. val nsfwLevel: NSFWLevel

    The guild NSFW level.

    The guild NSFW level.

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

    Get the owner this this guild.

    Get the owner this this guild.

    Definition Classes
    Guild
  26. val ownerId: UserId

    The userId of the owner.

    The userId of the owner.

    Definition Classes
    RequestsGuildGuild
  27. val permissions: Option[Permission]
  28. val preferredLocale: Option[String]

    The preferred locale of a community guild.

    The preferred locale of a community guild.

    Definition Classes
    RequestsGuildGuild
  29. val premiumProgressBarEnabled: Boolean
  30. val premiumSubscriptionCount: Option[Int]

    How many users that are boosting the server.

    How many users that are boosting the server.

    Definition Classes
    RequestsGuildGuild
  31. val premiumTier: PremiumTier

    The premium tier of the guild.

    The premium tier of the guild.

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

    The roles of the guild.

    The roles of the guild.

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

    The splash hash.

    The splash hash.

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

    The stickers of the guild.

    The stickers of the guild.

    Definition Classes
    RequestsGuildGuild
  38. val systemChannelFlags: SystemChannelFlags

    The flags for the system channel.

    The flags for the system channel.

    Definition Classes
    RequestsGuildGuild
  39. 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
  40. 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
  41. def unavailable: Option[Boolean]
    Definition Classes
    GuildUnknownStatusGuild
  42. val vanityUrlCode: Option[String]

    The vanity url code for the guild.

    The vanity url code for the guild.

    Definition Classes
    RequestsGuildGuild
  43. val verificationLevel: VerificationLevel

    The verification level for the guild.

    The verification level for the guild.

    Definition Classes
    RequestsGuildGuild
  44. val widgetChannelId: Option[GuildChannelId]

    The channel id for the widget.

    The channel id for the widget.

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

    If the widget is enabled.

    If the widget is enabled.

    Definition Classes
    RequestsGuildGuild