Remove Role User
Remove Role Userblocks are used to remove Discord roles from Discord users. Discord roles are sets of permissions that define what users can and can't do in a Discord server. These roles are created and named by the owner or administrator(s) of the Discord server in question.
Add Role Userblocks,
Remove Role Userblocks require a Discord connection from a
Discord Connectorblock, a Discord guild (server) ID, a Discord user ID, and a string parameter called "RoleName" that should match the name of a role defined in the server settings on the Discord app.
The following example is fairly involved, as it is an expansion of the example given on the
Add Role Userpage. It is recommended to familiarize yourself with the example on that page before considering this one.
In this example, we have added on the ability for a user to remove their member role by removing their brain emoji reaction. This is achieved by using an
On Reaction Removed Messageblock to detect the particular emoji reaction in question being removed, and a
Remove Role Userblock to remove the Discord role from the user who removed the emoji reaction.
In general, note that Discord guild (server) IDs and Discord channel IDs can be found by right-clicking on a server or channel in the Discord app and clicking on "Copy ID". Similarly, it is possible to acquire the message ID of a message that has already been sent in a Discord channel by right-clicking on the message in Discord and clicking "Copy ID".