Option

class Option(val data: DiscordOnboardingPromptOption, val guildId: Snowflake, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordEntity, Strategizable(source)

Represents an option for a Prompt.

Constructors

Link copied to clipboard
constructor(data: DiscordOnboardingPromptOption, guildId: Snowflake, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier)

Properties

Link copied to clipboard

The behaviors for the channels a Member is added to when this option is selected.

Link copied to clipboard

The IDs for the channels a Member is added to when this option is selected.

Link copied to clipboard

Requests the channels a Member is added to when this option is selected.

Link copied to clipboard
Link copied to clipboard

The description of this option.

Link copied to clipboard
val emoji: Emoji?

The Emoji of this option.

Link copied to clipboard

The ID of the Guild the onboarding is part of.

Link copied to clipboard
open override val id: Snowflake

The unique identifier of this entity.

Link copied to clipboard
open override val kord: Kord

The kord instance that created this object.

Link copied to clipboard

The behaviors for the Roles assigned to a Member when this option is selected.

Link copied to clipboard

The IDs for the Roles assigned to a Member when this option is selected.

Link copied to clipboard

Requests the Roles assigned to a Member when this option is selected.

Link copied to clipboard
open override val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard

The title of this option.

Functions

Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Returns a copy of this class with a new supplier provided by the strategy.