revoltchat / revolt.js

Modern Typescript library for interacting with Revolt.
https://revolt.js.org
MIT License
216 stars 54 forks source link

feat: add deleteEmoji method to Server class #94

Closed maximatically closed 1 month ago

maximatically commented 4 months ago

This should fix issue #86 by adding the deleteEmoji method to the Server class. I went with the usual pattern used for deleting. I also tried to make the code style fit into Server.ts's already existing style of code.

Please make sure to check the following tasks before opening and submitting a PR

insertish commented 1 month ago

Okay I'm a bit tired, I didn't notice this has no association with Server, it makes more sense for this to be defined on Emoji class as a static method but this works too.