DiscordOnboarding
Defined in: bot/bot.type.ts:210
A server’s onboarding configuration, as GET /guilds/{id}/onboarding returns and PUT takes it.
Properties
Section titled “Properties”default_channel_ids
Section titled “default_channel_ids”default_channel_ids:
string[]
Defined in: bot/bot.type.ts:216
Ids of the channels every new member is shown by default.
enabled
Section titled “enabled”enabled:
boolean
Defined in: bot/bot.type.ts:218
Whether onboarding is turned on.
guild_id?
Section titled “guild_id?”
optionalguild_id?:string
Defined in: bot/bot.type.ts:212
The server id.
optionalmode?:number
Defined in: bot/bot.type.ts:220
0 default, 1 advanced.
prompts
Section titled “prompts”prompts:
DiscordOnboardingPrompt[]
Defined in: bot/bot.type.ts:214
The questions asked during onboarding.