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

Deprecate and rename respawn option to autoRespawn #3280

Closed
wants to merge 3 commits into from

Conversation

zardoy
Copy link
Contributor

@zardoy zardoy commented Jan 8, 2024

fixes #3276

@zardoy zardoy changed the title Deprecate and rename respawn options to autoRespawn Deprecate and rename respawn option to autoRespawn Jan 8, 2024
lib/loader.js Outdated
@@ -70,7 +70,7 @@ function createBot (options = {}) {
options.loadInternalPlugins = options.loadInternalPlugins ?? true
options.client = options.client ?? null
options.brand = options.brand ?? 'vanilla'
options.respawn = options.respawn ?? true
options.autoRespawn = options.autoRespawn ?? options.autoRespawn ?? true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect logic

Also, the doc seems already pretty clear. Is there anyone that's been confused by this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, fixed

@rom1504
Copy link
Member

rom1504 commented Jan 14, 2024

why is it worth it to do such a breaking change for a minor renaming?

@rom1504 rom1504 added this to Waiting for user input in PR Triage Jan 14, 2024
@zardoy
Copy link
Contributor Author

zardoy commented Jan 14, 2024

why is it worth it to do such a breaking change for a minor renaming?

where did you find the breaking change?

the pr is here because of #3276 (comment), if for some reason you don't like it feel free to close it...

@rom1504
Copy link
Member

rom1504 commented Jan 14, 2024

Removing the option options.respawn is a breaking change

@zardoy
Copy link
Contributor Author

zardoy commented Jan 14, 2024

Removing the option options.respawn is a breaking change

But I didn't remove support for options.respawn, old option should still be supported. am I missing something?

@rom1504
Copy link
Member

rom1504 commented Jan 14, 2024

ah yeah I see, yeah then it's not breaking

not sure if it's really useful though, but maybe...

@rom1504 rom1504 moved this from Waiting for user input to Almost too old in PR Triage Mar 17, 2024
@zardoy
Copy link
Contributor Author

zardoy commented May 22, 2024

Closing this so you can prioritize a lot of other more important prs

@zardoy zardoy closed this May 22, 2024
PR Triage automation moved this from Almost too old to Closed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
PR Triage
  
Closed
Development

Successfully merging this pull request may close these issues.

rename respawn option to autoRespawn
3 participants