Table of Contents

Class RestGuildOnboarding

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class RestGuildOnboarding : IGuildOnboarding
Inheritance
RestGuildOnboarding
Implements
Inherited Members
Extension Methods

Properties

DefaultChannelIds

Gets IDs of channels that members get opted into automatically.

public IReadOnlyCollection<ulong> DefaultChannelIds { get; }

Property Value

IReadOnlyCollection<ulong>

Guild

Gets the guild this onboarding is part of.

public RestGuild Guild { get; }

Property Value

RestGuild

GuildId

Gets the ID of the guild this onboarding is part of.

public ulong GuildId { get; }

Property Value

ulong

IsBelowRequirements

Gets whether the server does not meet requirements to enable guild onboarding.

public bool IsBelowRequirements { get; }

Property Value

bool

IsEnabled

Gets whether onboarding is enabled in the guild.

public bool IsEnabled { get; }

Property Value

bool

Mode

Gets the current mode of onboarding.

public GuildOnboardingMode Mode { get; }

Property Value

GuildOnboardingMode

Prompts

Gets prompts shown during onboarding and in customize community.

public IReadOnlyCollection<RestGuildOnboardingPrompt> Prompts { get; }

Property Value

IReadOnlyCollection<RestGuildOnboardingPrompt>

Methods

ModifyAsync(Action<GuildOnboardingProperties>, RequestOptions)

Modifies the onboarding object.

public Task ModifyAsync(Action<GuildOnboardingProperties> props, RequestOptions options = null)

Parameters

props Action<GuildOnboardingProperties>
options RequestOptions

Returns

Task