Packages

c

ackcord.data

GuildPreview

case class GuildPreview(id: GuildId, name: String, icon: Option[String], splash: Option[String], discoverySplash: Option[String], emojis: Seq[RawEmoji], features: Seq[GuildFeature], approximateMemberCount: Int, approximatePresenceCount: Int, description: Option[String]) extends Product with Serializable

A preview of a public guild

id

The id of the guild.

name

The name of the guild.

icon

The icon hash.

splash

The splash hash.

discoverySplash

The discovery splash hash.

emojis

The emojis of the guild.

features

The enabled guild features.

approximateMemberCount

An approximate count of the members in the guild.

approximatePresenceCount

An approximate count of the presences in the guild.

description

A description for the guild

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

Instance Constructors

  1. new GuildPreview(id: GuildId, name: String, icon: Option[String], splash: Option[String], discoverySplash: Option[String], emojis: Seq[RawEmoji], features: Seq[GuildFeature], approximateMemberCount: Int, approximatePresenceCount: Int, description: Option[String])

    id

    The id of the guild.

    name

    The name of the guild.

    icon

    The icon hash.

    splash

    The splash hash.

    discoverySplash

    The discovery splash hash.

    emojis

    The emojis of the guild.

    features

    The enabled guild features.

    approximateMemberCount

    An approximate count of the members in the guild.

    approximatePresenceCount

    An approximate count of the presences in the guild.

    description

    A description for the guild

Value Members

  1. val approximateMemberCount: Int
  2. val approximatePresenceCount: Int
  3. val description: Option[String]
  4. val discoverySplash: Option[String]
  5. val emojis: Seq[RawEmoji]
  6. val features: Seq[GuildFeature]
  7. val icon: Option[String]
  8. val id: GuildId
  9. val name: String
  10. def productElementNames: Iterator[String]
    Definition Classes
    Product
  11. val splash: Option[String]