Table of Contents

Method GetWelcomeScreenAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetWelcomeScreenAsync(CancellationToken)

Gets this guild's welcome screen.

public Task<DiscordGuildWelcomeScreen> GetWelcomeScreenAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<DiscordGuildWelcomeScreen>

This guild's welcome screen object.

Exceptions

ServerErrorException

Thrown when Discord is unable to process the request.