feat: add deleteEmoji method to Server class (#94)

This commit is contained in:
Maxi
2024-06-08 12:10:17 +02:00
committed by Paul Makles
parent ee41205c3d
commit 09c68a60a3
+10
View File
@@ -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}`
);
}
}