Packages

c

ackcord.data

GuildMember

case class GuildMember(userId: UserId, guildId: GuildId, nick: Option[String], roleIds: Seq[RoleId], joinedAt: OffsetDateTime, premiumSince: Option[OffsetDateTime], deaf: Boolean, mute: Boolean) extends GetUser with GetGuild with Product with Serializable

Represents a user in a guild.

userId

The user of this member.

guildId

The guild this member belongs to.

nick

The nickname of this user in this guild.

roleIds

The roles of this user.

joinedAt

When this user joined the guild.

premiumSince

When this user boosted the server.

deaf

If this user is deaf.

mute

IF this user is mute.

Source
guild.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GuildMember
  2. Serializable
  3. Product
  4. Equals
  5. GetGuild
  6. GetUser
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GuildMember(userId: UserId, guildId: GuildId, nick: Option[String], roleIds: Seq[RoleId], joinedAt: OffsetDateTime, premiumSince: Option[OffsetDateTime], deaf: Boolean, mute: Boolean)

    userId

    The user of this member.

    guildId

    The guild this member belongs to.

    nick

    The nickname of this user in this guild.

    roleIds

    The roles of this user.

    joinedAt

    When this user joined the guild.

    premiumSince

    When this user boosted the server.

    deaf

    If this user is deaf.

    mute

    IF this user is mute.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def channelPermissionsId(guild: Guild, channelId: GuildChannelId): Permission

    Calculate the permissions of this user in a channel given a guild.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. val deaf: Boolean
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def guild(implicit snapshot: CacheSnapshot): Option[Guild]

    The guild for this object

    The guild for this object

    Definition Classes
    GetGuild
  12. val guildId: GuildId
    Definition Classes
    GuildMemberGetGuild
  13. def hasRoleAboveId(guild: Guild, other: GuildMember): Boolean

    Check if this user has any roles above the passed in roles.

  14. def hasRoleAboveId(guild: Guild, others: Seq[RoleId]): Boolean

    Check if this user has any roles above the passed in roles.

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val joinedAt: OffsetDateTime
  17. val mute: Boolean
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. val nick: Option[String]
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def permissions(guild: Guild): Permission

    Calculate the permissions of this user

  23. def permissionsWithOverridesId(guild: Guild, guildPermissions: Permission, channelId: GuildChannelId): Permission

    Calculate the permissions of this user in a channel.

  24. val premiumSince: Option[OffsetDateTime]
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. val roleIds: Seq[RoleId]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def user(implicit snapshot: CacheSnapshot): Option[User]

    The user for this object

    The user for this object

    Definition Classes
    GetUser
  29. val userId: UserId
    Definition Classes
    GuildMemberGetUser
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GetGuild

Inherited from GetUser

Inherited from AnyRef

Inherited from Any

Ungrouped