implicit final class GuildMemberSyntax extends AnyVal
- Source
- syntax.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GuildMemberSyntax
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new GuildMemberSyntax(guildMember: GuildMember)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def addRole(roleId: RoleId): AddGuildMemberRole
Add a role to this member.
Add a role to this member.
- roleId
The role to add
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ban(deleteMessageDays: Option[Int], reason: Option[String]): CreateGuildBan
Ban this guild member.
Ban this guild member.
- deleteMessageDays
The number of days to delete messages for this banned user.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def kick: RemoveGuildMember
Kick this guild member.
- def modify(nick: util.JsonOption[String] = JsonUndefined, roles: util.JsonOption[Seq[RoleId]] = JsonUndefined, mute: util.JsonOption[Boolean] = JsonUndefined, deaf: util.JsonOption[Boolean] = JsonUndefined, channelId: util.JsonOption[VoiceGuildChannelId] = JsonUndefined): ModifyGuildMember
Modify this guild member.
Modify this guild member.
- nick
The nickname to give to the user.
- roles
The roles to give to the user.
- mute
If the user should be muted.
- deaf
If the user should be deafened.
- channelId
The id of the channel to move the user to.
- def removeRole(roleId: RoleId): RemoveGuildMemberRole
Remove a role from this member.
Remove a role from this member.
- roleId
The role to remove
- def rolesForUser(guild: Guild): Seq[Role]
Get all the roles for this guild member given a preexisting guild.
- def rolesForUser(implicit snapshot: CacheSnapshot): Seq[Role]
Get all the roles for this guild member.
- def toString(): String
- Definition Classes
- Any
- def unban: RemoveGuildBan
Unban this user.