Packages

c

ackcord.data

UserIdSyntax

implicit final class UserIdSyntax extends AnyVal

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

Instance Constructors

  1. new UserIdSyntax(userId: UserId)

Value Members

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

    Mention this user.

  3. def mentionNick: String

    Mention this user with their nickname.

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

    Resolve the user represented by this id.

  5. def resolveMember(guildId: GuildId)(implicit c: CacheSnapshot): Option[GuildMember]

    Resolve the guild member represented by this id.

    Resolve the guild member represented by this id.

    guildId

    The guild to find the guild member in