Table of Contents

Method GetOnboardingAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetOnboardingAsync(CancellationToken)

Gets this guilds onboarding configuration.

[RequiresFeature(Features.Onboarding)]
public Task<DiscordOnboarding> GetOnboardingAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<DiscordOnboarding>

Exceptions

NotFoundException

Thrown when onboarding does not exist for a reason.

ServerErrorException

Thrown when Discord is unable to process the request.