$removeRole
$removeRole
will remove a given role 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 |
roleID | number | The ID of the role that will be removed. | true |
reason? | string | The reason that will be displayed in the guild’s audit logs. | false |
Example(s)
This will remove a given role from yourself (the role must be below the bot’s highest role):