Packages

c

ackcord.data

RoleIdSyntax

implicit final class RoleIdSyntax extends AnyVal

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RoleIdSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RoleIdSyntax(roleId: RoleId)

Value Members

  1. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  2. def mention: String

    Mention this role.

  3. def resolve(guildId: GuildId)(implicit c: CacheSnapshot): Option[Role]

    Resolve the role this id represents relative to a guild id.

  4. def resolve(implicit c: CacheSnapshot): Option[Role]

    Resolve the role this id represents.

    Resolve the role this id represents. If a guild id is known, prefer the method that takes a guild id.