Method GetServerGuideAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetServerGuideAsync(CancellationToken)
Gets this guilds server guide configuration.
[RequiresFeature(Features.Onboarding, "Additionally needs to have server guide enabled.")]
public Task<DiscordServerGuide> GetServerGuideAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to cancel the request.
Returns
Exceptions
- NotFoundException
Thrown when server guide does not exist for a reason.
- ServerErrorException
Thrown when Discord is unable to process the request.