Build chat bots with blocks

(action) permission (permission) to/from role (role)

In Discord → Roles

Jump to block

Give a permission to a role.

Requires the following blocks to be present in the project: discord login


Parameter name Parameter type Required? Description
action any The action to perform: give or remove.
permission permission The permission to give or remove.
role role The role to give or remove the permission to/from.


void - This is a statement with no outputs