Skip to content

DiscordOnboardingPrompt

Defined in: bot/bot.type.ts:192

A question in the server’s onboarding flow, with the options a member picks from.

optional id?: string

Defined in: bot/bot.type.ts:194

The prompt id; absent when creating a new prompt.


in_onboarding: boolean

Defined in: bot/bot.type.ts:204

Whether the prompt appears during onboarding (otherwise only in Channels & Roles).


options: DiscordOnboardingOption[]

Defined in: bot/bot.type.ts:206

The answers a member can choose from.


required: boolean

Defined in: bot/bot.type.ts:202

Whether a member must answer.


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.