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
- Alphabetic
- By Inheritance
Inherited
- Emoji
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- val animated: Option[Boolean]
- def asString: String
Returns a string representation of this emoji for use in requests.
- val available: Option[Boolean]
- def creator(implicit c: CacheSnapshot): Option[User]
Get the creator of this emoji if it has one.
- val id: EmojiId
- val managed: Option[Boolean]
- def mention: String
Mention this emoji so it can be formatted correctly in messages.
- val name: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requireColons: Option[Boolean]
- val roles: Seq[RoleId]
- val userId: Option[UserId]