For the complete documentation index, see llms.txt. This page is also available as Markdown.

Action: Add Role

Discord Operation

The Add Role action in Discord assigns a specific role (and its permissions) to a user on a server.

Example User Story

I want to give new team members access to our project channels, so I use the Add Role action in Discord to assign them the "Project Contributor" role.

Fields

Field Name
Field Type
Required

guildId

String

Yes

userId

String

Yes

roleId

String

Yes

Discord

Example link

Code (Apache v2.0): Operation

Last updated