diff --git a/src/structures/emoji.ts b/src/structures/emoji.ts index 261de63..7e78e1e 100644 --- a/src/structures/emoji.ts +++ b/src/structures/emoji.ts @@ -52,7 +52,7 @@ export class Emoji extends Base { /** Delete the given emoji. Requires the MANAGE_EMOJIS permission. Returns `true` on success. Fires a Guild Emojis Update Gateway event. */ async delete(): Promise { if (this.guild === undefined) return false - await this.client.rest.patch(EMOJI(this.guild.id, this.id)) + await this.client.rest.delete(EMOJI(this.guild.id, this.id)) return true }