DiscordOnboardingOption
Defined in: bot/bot.type.ts:170
One answer a member can pick in an onboarding prompt.
Properties
Section titled “Properties”channel_ids?
Section titled “channel_ids?”
optionalchannel_ids?:string[]
Defined in: bot/bot.type.ts:178
Ids of the channels a member who picks this option is shown.
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: bot/bot.type.ts:176
A short explanation shown under the title.
emoji?
Section titled “emoji?”
optionalemoji?:DiscordEmoji
Defined in: bot/bot.type.ts:182
Discord returns the emoji as an object…
emoji_animated?
Section titled “emoji_animated?”
optionalemoji_animated?:boolean
Defined in: bot/bot.type.ts:188
Whether the custom emoji is animated.
emoji_id?
Section titled “emoji_id?”
optionalemoji_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).
emoji_name?
Section titled “emoji_name?”
optionalemoji_name?:string|null
Defined in: bot/bot.type.ts:186
Name of a Unicode emoji, or of a custom emoji together with emoji_id.
optionalid?:string
Defined in: bot/bot.type.ts:172
The option id; absent when creating a new option.
role_ids?
Section titled “role_ids?”
optionalrole_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.