Discord User icon

Discord User

Complete Discord automation - Messages, Servers, Roles, Members, DMs

Role → Create Role

AI-generated

Summary

Creates a role in the specified Discord server.

Inputs

  • serverId (required) — ID of the Discord server where the role will be created.
  • roleName — Name of the role to create.

Output shape

object

Returned by the Discord API via Roles.create. Contains the role's ID, name, and hex color code assigned by Discord. Does not include the 'color' or 'permissions' parameters declared in the UI properties, as the runtime implementation only consumes 'roleName'.

Discussion