Skip to content

Commit

Permalink
feat: add deleteEmoji method to Server class (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibue authored and insertish committed Jun 8, 2024
1 parent ee41205 commit 09c68a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/classes/Server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -714,4 +714,14 @@ export class Server {
)
);
}

/**
* Delete emoji
* @param emojiId Emoji ID
*/
async deleteEmoji(emojiId: string) {
return await this.#collection.client.api.delete(
`/custom/emoji/${emojiId}`
);
}
}

0 comments on commit 09c68a6

Please sign in to comment.