$deleteRole
Deletes a role.
Syntax
$deleteRole[Role ID]
Parameters
Role ID
(Type: Snowflake || Flag: Required)
: The role to delete.
Permissions
Required permissions that the bot must have for this function to work properly:
manageroles
Example
$nomention
$onlyPerms[manageroles;❌ You are missing the `MANAGE_ROLES` permission!]
$argsCheck[>1;Please provide a role to delete!]
$onlyIf[$findRole[$message]!=;Invalid role!]
$deleteRole[$findRole[$message]]
Deleted the role!