Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var color: Color?

Color of the role.

Link copied to clipboard

Whether the role should be displayed separately in the sidebar.

Link copied to clipboard
var icon: Image?

The role's icon image (if the guild has the RoleIcons feature).

Link copied to clipboard

Whether the role should be mentionable.

Link copied to clipboard
var name: String?

Name of the role.

Link copied to clipboard

Permissions for the role.

Link copied to clipboard
open override var reason: String?

The reason for this request, this will be displayed in the audit log.

Link copied to clipboard

The role's unicode emoji as a standard emoji (if the guild has the RoleIcons feature).

Functions

Link copied to clipboard
open override fun toRequest(): GuildRoleModifyRequest