Method ModifyAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
ModifyAsync(string)
Modifies this emoji.
public Task<DiscordApplicationEmoji> ModifyAsync(string name)
Parameters
name
stringNew name for this emoji.
Returns
- Task<DiscordApplicationEmoji>
The modified emoji.
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.