prompt

inline fun GuildOnboardingModifyBuilder.prompt(type: OnboardingPromptType, title: String, singleSelect: Boolean, required: Boolean, inOnboarding: Boolean, builder: OnboardingPromptBuilder.() -> Unit)(source)

Add a prompt to prompts.

Parameters

type

The type of the prompt.

title

The title of the prompt.

singleSelect

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

required

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

inOnboarding

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