Table of Contents

Method ModifyApplicationEmojiAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

ModifyApplicationEmojiAsync(ulong, string)

Modifies an application emoji.

public Task<DiscordApplicationEmoji> ModifyApplicationEmojiAsync(ulong id, string name)

Parameters

id ulong

The emoji id.

name string

The name.

Returns

Task<DiscordApplicationEmoji>

Exceptions

NotFoundException

Thrown when the emoji does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.