Table of Contents

Class GuildOnboardingPromptProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents properties used to create or modify guild onboarding prompt.

public class GuildOnboardingPromptProperties
Inheritance
GuildOnboardingPromptProperties
Inherited Members

Properties

Id

Gets or sets the Id of the prompt. If the value is null a new prompt will be created. The existing one will be updated otherwise.

public ulong? Id { get; set; }

Property Value

ulong?

IsInOnboarding

Gets or sets whether the prompt is present in the onboarding flow.

public bool IsInOnboarding { get; set; }

Property Value

bool

IsRequired

Gets or sets whether the prompt is required before a user completes the onboarding flow.

public bool IsRequired { get; set; }

Property Value

bool

IsSingleSelect

Gets or sets whether users are limited to selecting one option for the prompt.

public bool IsSingleSelect { get; set; }

Property Value

bool

Options

Gets or sets options available within the prompt.

public GuildOnboardingPromptOptionProperties[] Options { get; set; }

Property Value

GuildOnboardingPromptOptionProperties[]

Title

Gets or sets the title of the prompt.

public string Title { get; set; }

Property Value

string

Type

Gets or set the type of the prompt.

public GuildOnboardingPromptType Type { get; set; }

Property Value

GuildOnboardingPromptType