Table of Contents

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 string

The prompt title.

options List<DiscordOnboardingPromptOption>

The prompt options.

singleSelect bool

Whether the prompt is single select. Defaults to false.

required bool

Whether the prompt is required. Defaults to true.

inOnboarding bool

Whether the prompt is shown in onboarding. Defaults to true.

type PromptType

The prompt type. Defaults to MultipleChoice.