Table of Contents

Method GetEmojisAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetEmojisAsync(CancellationToken)

Gets all of this guild's custom emojis.

public Task<IReadOnlyList<DiscordGuildEmoji>> GetEmojisAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<IReadOnlyList<DiscordGuildEmoji>>

All of this guild's custom emojis.

Exceptions

ServerErrorException

Thrown when Discord is unable to process the request.