$deleteRole
Deletes a role from the guild. Must use a role ID.

FUNCTION USAGE

  • $deleteRole[roleID]

Property:

roleID - Supply the roleID to delete it from the guild.
1
bot.Command({
2
name: "delete-role",
3
code: `
4
$deleteRole[$findRole[$message[]]]
5
Deleted the $roleName[$findRole[$message[]]] role! Goodluck finding that one LOL
6
7
$onlyIf[$roleExists[$findRole[$message[]]]==true;That role doesn't exist]
8
`},
Copied!
Last modified 5mo ago
Copy link
Contents
Property: