removeRole
Removes a role from the player.
Syntax
player.removeRole(role);
Parameters
Name | Type | Description |
---|---|---|
role | string | The role to remove from the player. |
Returns
Promise<void>
- A promise that resolves when the role has been removed.
Example
await player.removeRole('role_2jd1TjKpCYjhFKDhw8hmTH');
Available on: Server