Class
GuildEmoji
Represents a custom emoji in a guild.
Extends Base
Constructor
Properties
animated
: boolean (readonly)client
: Client (readonly)guildId
: string (readonly)id
: string (readonly)identifier
: string (readonly)Emoji identifier for use in reactions: `name:id`
name
: stringurl
: string (readonly)CDN URL for this emoji image.
Methods
delete
(): Promise<void>Delete this emoji. Requires Manage Emojis and Stickers permission.
edit
(options: { name: string; }): Promise<GuildEmoji>Edit this emoji's name. Requires Manage Emojis and Stickers permission.
| Param | Type | Description |
|---|---|---|
| options | { name: string; } |