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

fix(ApplicationCommandManager): update guild command cache on c/u/d #6841

Merged
merged 1 commit into from Oct 27, 2021

Conversation

advaith1
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:

Currently, the cache is not updated when guild commands are created, updated, or deleted; this PR fixes that.

discussion (about a month ago)

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@Jiralite
Copy link
Member

This fix was made because the events no longer emit - is it worth adding deprecation warnings to these events?

@vladfrangu
Copy link
Member

This fix was made because the events no longer emit - is it worth adding deprecation warnings to these events?

If there isn't one already, yeah, probably should let users know the event won't fire

@advaith1
Copy link
Contributor Author

wouldn't that be out of scope for this pr?

@iCrawl iCrawl merged commit f169c8f into discordjs:main Oct 27, 2021
@advaith1 advaith1 deleted the cache-guild-commands branch October 30, 2021 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants