Assign Role

Assign a role to a user.

The highest role of your bot must be higher than the role you are trying to assign. For example, if your bot’s role is at the bottom of the role list, it will not be able to assign any roles.

Inputs

Server ID

ID of the server to assign role in.

Example: 123456789012345678

User ID

ID of the user to assign role to.

Example: 123456789012345678

Role ID

ID of the role to assign.

Example: 123456789012345678

Outputs

This block does not have any outputs.