Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add deleteEmoji method to Server class #94

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

maxibue
Copy link
Contributor

@maxibue maxibue commented Feb 24, 2024

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

  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended
  • These changes do not have any notable side effects on other Revolt projects

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.
@insertish
Copy link
Member

insertish commented Jun 8, 2024

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.

@insertish insertish changed the title Added deleteEmoji method to the Server class. feat: add deleteEmoji method to Server class Jun 8, 2024
@insertish insertish merged commit c0fc57e into revoltchat:master Jun 8, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants