Packages

c

ackcord.data

GuildMember

case class GuildMember(userId: UserId, guildId: GuildId, nick: Option[String], avatar: Option[String], roleIds: Seq[RoleId], joinedAt: Option[OffsetDateTime], premiumSince: Option[OffsetDateTime], deaf: Boolean, mute: Boolean, pending: Option[Boolean], communicationDisabledUntil: Option[OffsetDateTime]) 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.

pending

True if the member hasn't gotten past the guild screening yet

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], avatar: Option[String], roleIds: Seq[RoleId], joinedAt: Option[OffsetDateTime], premiumSince: Option[OffsetDateTime], deaf: Boolean, mute: Boolean, pending: Option[Boolean], communicationDisabledUntil: Option[OffsetDateTime])

    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.

    pending

    True if the member hasn't gotten past the guild screening yet

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. val avatar: Option[String]
  6. def channelPermissionsId(guild: GatewayGuild, channelId: GuildChannelId): Permission

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

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

    The guild for this object

    The guild for this object

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

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

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

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

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

    Calculate the permissions of this user

  25. def permissionsWithOverridesId(guild: GatewayGuild, guildPermissions: Permission, channelId: GuildChannelId): Permission

    Calculate the permissions of this user in a channel.

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

    The user for this object

    The user for this object

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GetGuild

Inherited from GetUser

Inherited from AnyRef

Inherited from Any

Ungrouped