DiscordOnboardingPrompt
Defined in: bot/bot.type.ts:192
A question in the server’s onboarding flow, with the options a member picks from.
Properties
Section titled “Properties”
optionalid?:string
Defined in: bot/bot.type.ts:194
The prompt id; absent when creating a new prompt.
in_onboarding
Section titled “in_onboarding”in_onboarding:
boolean
Defined in: bot/bot.type.ts:204
Whether the prompt appears during onboarding (otherwise only in Channels & Roles).
options
Section titled “options”options:
DiscordOnboardingOption[]
Defined in: bot/bot.type.ts:206
The answers a member can choose from.
required
Section titled “required”required:
boolean
Defined in: bot/bot.type.ts:202
Whether a member must answer.
single_select
Section titled “single_select”single_select:
boolean
Defined in: bot/bot.type.ts:200
Whether a member may pick only one option.
title:
string
Defined in: bot/bot.type.ts:198
The question text.
type:
number
Defined in: bot/bot.type.ts:196
0 multiple choice, 1 dropdown.