case class Emoji(id: EmojiId, name: String, roles: Seq[RoleId], userId: Option[UserId], requireColons: Boolean, managed: Boolean, animated: 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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Emoji
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Emoji(id: EmojiId, name: String, roles: Seq[RoleId], userId: Option[UserId], requireColons: Boolean, managed: Boolean, animated: 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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val animated: Boolean
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asString: String
Returns a string representation of this emoji used in requests.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
creator(implicit c: CacheSnapshot): Option[User]
Get the creator of this emoji if it has one.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: EmojiId
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val managed: Boolean
-
def
mention: String
Mention this role so it can be formatted correctly in messages.
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val requireColons: Boolean
- val roles: Seq[RoleId]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val userId: Option[UserId]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()