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(Command): support BulkOverwrite for reloads #600

Merged
merged 5 commits into from
Feb 5, 2023

Conversation

favna
Copy link
Member

@favna favna commented Feb 5, 2023

This ensures that when RegisterBehavior.BulkOverwrite is set, the command does not attempt to register individually which would always cause issues.

resolves #599

@favna favna self-assigned this Feb 5, 2023
@favna
Copy link
Member Author

favna commented Feb 5, 2023

@sapphiredev pack

@sapphiredev
Copy link

sapphiredev bot commented Feb 5, 2023

Heya @favna, I've started to run the deployment workflow on this PR at d6443a2. You can monitor the build here!

@sapphiredev
Copy link

sapphiredev bot commented Feb 5, 2023

Hey @favna, I've released this to NPM. You can install it for testing like so:

npm install @sapphire/framework@pr-600

src/lib/structures/CommandStore.ts Outdated Show resolved Hide resolved
@favna favna force-pushed the fix/command-reload-support-bulk-overwrite branch from 45be134 to 0815c7f Compare February 5, 2023 22:22
@favna
Copy link
Member Author

favna commented Feb 5, 2023

@sapphiredev pack

@sapphiredev
Copy link

sapphiredev bot commented Feb 5, 2023

Heya @favna, I've started to run the deployment workflow on this PR at 0815c7f. You can monitor the build here!

@sapphiredev
Copy link

sapphiredev bot commented Feb 5, 2023

Hey @favna, I've released this to NPM. You can install it for testing like so:

npm install @sapphire/framework@pr-600

@favna favna merged commit b4c252e into main Feb 5, 2023
@favna favna deleted the fix/command-reload-support-bulk-overwrite branch February 5, 2023 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

bug: Command#reload and CommandStore#loadAll do not handle BulkOverwrite
2 participants