Add Role to User

Adds a role to the specified user.

Ensure that your bot has a role at least as high as the one it's trying to give to a user, otherwise this will not work.




The user to add the role for. This should evaluate to an id or tag; you can manually copy a user's id or get it programmatically by using a user type variable.

Role name

The name of the role to give to this user

Last updated