delete_role(Args{server_id: trigger.server_id, role_id: "..."})
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.
ID:
delete_roleInputs
| Field | InventScript name | Value |
|---|---|---|
| Server ID | server_id | |
| Role ID | role_id |