Packages

case class Emoji(id: EmojiId, name: String, roles: Seq[RoleId], userId: Option[UserId], requireColons: Option[Boolean], managed: Option[Boolean], animated: Option[Boolean], available: Option[Boolean]) extends Product with Serializable

An emoji in a guild.

id

The id of the emoji.

name

The emoji name.

roles

The roles that can use this emoji.

userId

The id of the user that created this emoji.

requireColons

If the emoji requires colons.

managed

If the emoji is managed.

animated

If the emoji is animated.

available

If the emoji can be used.

Source
guild.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Emoji
  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 Emoji(id: EmojiId, name: String, roles: Seq[RoleId], userId: Option[UserId], requireColons: Option[Boolean], managed: Option[Boolean], animated: Option[Boolean], available: Option[Boolean])

    id

    The id of the emoji.

    name

    The emoji name.

    roles

    The roles that can use this emoji.

    userId

    The id of the user that created this emoji.

    requireColons

    If the emoji requires colons.

    managed

    If the emoji is managed.

    animated

    If the emoji is animated.

    available

    If the emoji can be used.

Value Members

  1. val animated: Option[Boolean]
  2. def asString: String

    Returns a string representation of this emoji for use in requests.

  3. val available: Option[Boolean]
  4. def creator(implicit c: CacheSnapshot): Option[User]

    Get the creator of this emoji if it has one.

  5. val id: EmojiId
  6. val managed: Option[Boolean]
  7. def mention: String

    Mention this emoji so it can be formatted correctly in messages.

  8. val name: String
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. val requireColons: Option[Boolean]
  11. val roles: Seq[RoleId]
  12. val userId: Option[UserId]