Table of Contents

Method CreateApplicationEmojiAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

CreateApplicationEmojiAsync(string, Stream)

Creates an application emoji.

public Task<DiscordApplicationEmoji> CreateApplicationEmojiAsync(string name, Stream image)

Parameters

name string

The name.

image Stream

The image.

Returns

Task<DiscordApplicationEmoji>

Exceptions

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.