Preview environment

interface GuildOnboardingPromptOptionData

export interface GuildOnboardingPromptOptionData

Data for editing a guild onboarding prompt option.

optional
channels? : readonly ChannelResolvable[] | ReadonlyCollection<Snowflake, GuildChannel>

The channels a member is added to when the option is selected

optional
description? : string | null

The description of the option

optional
emoji? : EmojiIdentifierResolvable | Emoji | null

The emoji of the option

optional
id? : Snowflake | null

The id of the option

optional
roles? : readonly RoleResolvable[] | ReadonlyCollection<Snowflake, Role>

The roles assigned to a member when the option is selected

title : string

The title of the option