DiscordGuildOnboardingPromptOption
Documentation / @discordeno/bot / DiscordGuildOnboardingPromptOption
Interface: DiscordGuildOnboardingPromptOption
Defined in: packages/types/dist/types/discord/guild.d.ts:522
https://discord.com/developers/docs/resources/guild#guild-onboarding-object-prompt-option-structure
Properties
channel_ids
channel_ids:
string
[]
Defined in: packages/types/dist/types/discord/guild.d.ts:526
IDs for channels a member is added to when the option is selected
description
description:
null
|string
Defined in: packages/types/dist/types/discord/guild.d.ts:560
Description of the option
emoji?
optional
emoji:DiscordEmoji
Defined in: packages/types/dist/types/discord/guild.d.ts:535
Emoji of the option
Remarks
When creating or updating a prompt option, the emoji_id
, emoji_name
, and emoji_animated
fields must be used instead of the emoji object.
emoji_animated?
optional
emoji_animated:boolean
Defined in: packages/types/dist/types/discord/guild.d.ts:556
Whether the emoji is animated
Remarks
When creating or updating a prompt option, the emoji_id
, emoji_name
, and emoji_animated
fields must be used instead of the emoji object.
emoji_id?
optional
emoji_id:string
Defined in: packages/types/dist/types/discord/guild.d.ts:542
Emoji ID of the option
Remarks
When creating or updating a prompt option, the emoji_id
, emoji_name
, and emoji_animated
fields must be used instead of the emoji object.
emoji_name?
optional
emoji_name:string
Defined in: packages/types/dist/types/discord/guild.d.ts:549
Emoji name of the option
Remarks
When creating or updating a prompt option, the emoji_id
, emoji_name
, and emoji_animated
fields must be used instead of the emoji object.
id
id:
string
Defined in: packages/types/dist/types/discord/guild.d.ts:524
ID of the prompt option
role_ids
role_ids:
string
[]
Defined in: packages/types/dist/types/discord/guild.d.ts:528
IDs for roles assigned to a member when the option is selected
title
title:
string
Defined in: packages/types/dist/types/discord/guild.d.ts:558
Title of the option