Class

net.katsstuff.ackcord.data

Role

Related Doc: package data

Permalink

case class Role(id: RoleId, guildId: GuildId, name: String, color: Int, hoist: Boolean, position: Int, permissions: Permission, managed: Boolean, mentionable: Boolean) extends GetGuild with Product with Serializable

A role in a guild.

id

The id of this role.

guildId

The guildId this role belongs to.

name

The name 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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Role
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. GetGuild
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Role(id: RoleId, guildId: GuildId, name: String, color: Int, hoist: Boolean, position: Int, permissions: Permission, managed: Boolean, mentionable: Boolean)

    Permalink

    id

    The id of this role.

    guildId

    The guildId this role belongs to.

    name

    The name 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. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val color: Int

    Permalink

    The color of this role.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def guild[F[_]](implicit snapshot: CacheSnapshot[F]): OptionT[F, Guild]

    Permalink

    The guild for this object

    The guild for this object

    Definition Classes
    GetGuild
  11. val guildId: GuildId

    Permalink

    The guildId this role belongs to.

    The guildId this role belongs to.

    Definition Classes
    RoleGetGuild
  12. val hoist: Boolean

    Permalink

    If this role is listed in the sidebar.

  13. val id: RoleId

    Permalink

    The id of this role.

  14. def isAbove(other: Role): Boolean

    Permalink

    Check if this role is above another role.

  15. def isBelow(other: Role): Boolean

    Permalink

    Check if this role is below another role.

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val managed: Boolean

    Permalink

    If this is a bot role.

  18. def mention: String

    Permalink

    Mention this role.

  19. val mentionable: Boolean

    Permalink

    If you can mention this role.

  20. val name: String

    Permalink

    The name of this role.

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val permissions: Permission

    Permalink

    The permissions this role grant.

  25. val position: Int

    Permalink

    The position of this role.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GetGuild

Inherited from AnyRef

Inherited from Any

Ungrouped