Constructor DiscordOnboardingPrompt
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DiscordOnboardingPrompt(string, List<DiscordOnboardingPromptOption>, bool, bool, bool, PromptType)
Constructs a new onboarding prompt.
public DiscordOnboardingPrompt(string title, List<DiscordOnboardingPromptOption> options, bool singleSelect = false, bool required = true, bool inOnboarding = true, PromptType type = PromptType.MultipleChoice)
Parameters
title
stringThe prompt title.
options
List<DiscordOnboardingPromptOption>The prompt options.
singleSelect
boolWhether the prompt is single select. Defaults to false.
required
boolWhether the prompt is required. Defaults to true.
inOnboarding
boolWhether the prompt is shown in onboarding. Defaults to true.
type
PromptTypeThe prompt type. Defaults to MultipleChoice.