createRole

inline suspend fun GuildBehavior.createRole(builder: RoleCreateBuilder.() -> Unit = {}): Role(source)

Requests to add a new role to this guild.

Return

The created Role.

Throws

if something went wrong during the request.