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
- Alphabetic
- By Inheritance
- GuildMember
- Serializable
- Product
- Equals
- GetGuild
- GetUser
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val avatar: Option[String]
- def channelPermissionsId(guild: GatewayGuild, channelId: GuildChannelId): Permission
Calculate the permissions of this user in a channel given a guild.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val communicationDisabledUntil: Option[OffsetDateTime]
- val deaf: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def guild(implicit snapshot: CacheSnapshot): Option[GatewayGuild]
The guild for this object
The guild for this object
- Definition Classes
- GetGuild
- val guildId: GuildId
- Definition Classes
- GuildMember → GetGuild
- def hasRoleAboveId(guild: Guild, other: GuildMember): Boolean
Check if this user has any roles above the passed in roles.
- def hasRoleAboveId(guild: Guild, others: Seq[RoleId]): Boolean
Check if this user has any roles above the passed in roles.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val joinedAt: Option[OffsetDateTime]
- val mute: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nick: Option[String]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val pending: Option[Boolean]
- def permissions(guild: Guild): Permission
Calculate the permissions of this user
- def permissionsWithOverridesId(guild: GatewayGuild, guildPermissions: Permission, channelId: GuildChannelId): Permission
Calculate the permissions of this user in a channel.
- val premiumSince: Option[OffsetDateTime]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val roleIds: Seq[RoleId]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def user(implicit snapshot: CacheSnapshot): Option[User]
The user for this object
The user for this object
- Definition Classes
- GetUser
- val userId: UserId
- Definition Classes
- GuildMember → GetUser
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])