Prompt

class Prompt(val data: DiscordOnboardingPrompt, val guildId: Snowflake, val kord: Kord) : KordEntity(source)

Represents a prompt for a GuildOnboarding.

Constructors

Link copied to clipboard
constructor(data: DiscordOnboardingPrompt, guildId: Snowflake, kord: Kord)

Types

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

Represents an option for a Prompt.

Properties

Link copied to clipboard
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

Indicates whether this prompt is present in the onboarding flow. If false, this prompt will only appear in the Channels & Roles tab.

Link copied to clipboard

Indicates whether this prompt is required before a user completes the onboarding flow.

Link copied to clipboard

Indicates whether users are limited to selecting one option for this prompt.

Link copied to clipboard
open override val kord: Kord

The kord instance that created this object.

Link copied to clipboard

The Options available within this prompt.

Link copied to clipboard

The title of this prompt.

Link copied to clipboard

The type of this prompt.

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