Skip to content

DiscordOnboardingOption

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

One answer a member can pick in an onboarding prompt.

optional channel_ids?: string[]

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

Ids of the channels a member who picks this option is shown.


optional description?: string | null

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

A short explanation shown under the title.


optional emoji?: DiscordEmoji

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

Discord returns the emoji as an object…


optional emoji_animated?: boolean

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

Whether the custom emoji is animated.


optional emoji_id?: string | null

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

…and takes it as these three fields (a custom emoji has emoji_id, a Unicode one only emoji_name).


optional emoji_name?: string | null

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

Name of a Unicode emoji, or of a custom emoji together with emoji_id.


optional id?: string

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

The option id; absent when creating a new option.


optional role_ids?: string[]

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

Ids of the roles a member who picks this option is given.


title: string

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

The text of the option.