$removeRoles
$removeRoles
will remove one or multiple roles from a given member.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The guild ID of where the user and role is located in. | true |
userID | number | The ID of the user whose role will be removed. | true |
reason? | string | The reason that will be displayed in the guild’s audit logs. | false |
…roleIDs | number | The IDs of the roles that will be removed. | true |
Example(s)
This will remove given roles from yourself (the roles must be below the bot’s highest role):