Preview environment

class GuildOnboardingPromptOption

extends

Base
export class GuildOnboardingPromptOption extends Base

Represents the data of an option from a prompt of a guilds onboarding.

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

readonly
client : Client<true>

The client that instantiated this

Inherited from: Base

description : string | null

The description of the option

readonly
emoji : Emoji | GuildEmoji | null

The emoji of this onboarding prompt option

readonly
guild : Guild

The guild this onboarding prompt option is from

guildId : Snowflake

The id of the guild this onboarding prompt option is from

The id of the option

The roles assigned to a member when the option is selected

title : string

The title of the option

toJSON(
...props: Record<string, boolean | string>[]
) : unknown

Inherited from: Base

valueOf() : string

Inherited from: Base