GuildMember
extends User
Properties
<GuildMember>.client
The client that created the instance of the User
<GuildMember>.guild
The guild the Member is in
<GuildMember>.user
The user that the member represents
<GuildMember>.permissions
The member's Permissions
Methods
<GuildMember>.addRole(role)
Add a role to a user
Param
Required
Default
Type
role
true
none
String | Snowflake
<GuildMember>.removeRole(role)
Remove a role to a user
Param
Required
Default
Type
role
true
none
String | Snowflake
Last updated
Was this helpful?