Skip to content

$deleteRoles

$deleteRoles will delete one or multiple roles.

Usage

$deleteRoles[guildID;...roles]

Parameters

FieldTypeDescriptionRequired
guildIDnumberThe guild ID of where the roles are located in.true
…rolesnumber, stringThe IDs of the roles.true

Example(s)

This will delete roles of your guilds ( make sure to add actual IDs ):

1
client.command({
2
name: "deleteRoles",
3
code: `
4
Deleted three roles!
5
$deleteRoles[$guildID;roleID1;roleID2;roleID3]
6
`
7
});