-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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(guildemojimanager): add delete
and edit
methods
#7286
feat(guildemojimanager): add delete
and edit
methods
#7286
Conversation
delete
and edit
methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make GuildEmoji#edit
and GuildEmoji#delete
use the manager methods to reduce code duplication.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Funny how I was just about to make a PR that included this lol
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com>
…nto guildemojimanager-delete-edit # Conflicts: # packages/discord.js/src/managers/GuildEmojiManager.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one thing, and some testing would be nice.
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
5092ae5
to
6967a91
Compare
Please describe the changes this PR makes and why it should be merged:
This PR adds the
delete
andedit
methods to theGuildEmojiManager
as to use these methods, you would have to fetch the emoji from the manager before calling the methods on theGuildEmoji
itself.Status and versioning classification: