Delete Role

BlockRoles

Delete a role in the specified server.

Inputs

Server IDRequired

ID of the server containing the role.

Role IDRequired

ID of the role to delete.

Build a bot using blocks like Delete Role

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: delete_role

Inputs

FieldInventScript nameValue
Server IDserver_id
Role IDrole_id

Example InventScript

delete_role(Args{server_id: trigger.server_id, role_id: "..."})

More roles blocks