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
cancellationTokenCancellationTokenA token to cancel the request.
Returns
Exceptions
- NotFoundException
Thrown when onboarding does not exist for a reason.
- ServerErrorException
Thrown when Discord is unable to process the request.