DiscordRole
data class DiscordRole(val id: Snowflake, val name: String, val color: Int, val hoist: Boolean, val icon: Optional<String?> = Optional.Missing(), val unicodeEmoji: Optional<String?> = Optional.Missing(), val position: Int, val permissions: Permissions, val managed: Boolean, val mentionable: Boolean, val tags: Optional<DiscordRoleTags> = Optional.Missing(), val flags: RoleFlags)(source)
Constructors
Link copied to clipboard
constructor(id: Snowflake, name: String, color: Int, hoist: Boolean, icon: Optional<String?> = Optional.Missing(), unicodeEmoji: Optional<String?> = Optional.Missing(), position: Int, permissions: Permissions, managed: Boolean, mentionable: Boolean, tags: Optional<DiscordRoleTags> = Optional.Missing(), flags: RoleFlags)