case class RawRole(id: RoleId, name: String, icon: Option[String], unicodeEmoji: Option[String], color: Int, hoist: Boolean, position: Int, permissions: Permission, managed: Boolean, mentionable: Boolean, tags: Option[RoleTags]) extends Product with Serializable
A raw role before going through the cache.
- id
The id of this role.
- name
The name of this role.
- icon
Optional icon of this role.
- unicodeEmoji
Optional emoji of this role.
- color
The color of this role.
- hoist
If this role is listed in the sidebar.
- position
The position of this role.
- permissions
The permissions this role grant.
- managed
If this is a bot role.
- mentionable
If you can mention this role.
- Source
- rawData.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RawRole
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RawRole(id: RoleId, name: String, icon: Option[String], unicodeEmoji: Option[String], color: Int, hoist: Boolean, position: Int, permissions: Permission, managed: Boolean, mentionable: Boolean, tags: Option[RoleTags])
- id
The id of this role.
- name
The name of this role.
- icon
Optional icon of this role.
- unicodeEmoji
Optional emoji of this role.
- color
The color of this role.
- hoist
If this role is listed in the sidebar.
- position
The position of this role.
- permissions
The permissions this role grant.
- managed
If this is a bot role.
- mentionable
If you can mention this role.
Value Members
- val color: Int
- val hoist: Boolean
- val icon: Option[String]
- val id: RoleId
- val managed: Boolean
- val mentionable: Boolean
- val name: String
- val permissions: Permission
- val position: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val tags: Option[RoleTags]
- def toRole(guildId: GuildId): Role
- val unicodeEmoji: Option[String]