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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RawRole
  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 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

  1. val color: Int
  2. val hoist: Boolean
  3. val icon: Option[String]
  4. val id: RoleId
  5. val managed: Boolean
  6. val mentionable: Boolean
  7. val name: String
  8. val permissions: Permission
  9. val position: Int
  10. def productElementNames: Iterator[String]
    Definition Classes
    Product
  11. val tags: Option[RoleTags]
  12. def toRole(guildId: GuildId): Role
  13. val unicodeEmoji: Option[String]