-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Un-deprecate setup.js
#51
Comments
I think having a setup script is fine, if it's simple, updated and doesn't "force" the user to create anything that they don't want. |
You could say that it's simple, but it does ultimately force you to create your config.yml (which you need to create either way, so that doesn't really count as "forcing"). I'll see if I can simplify the script even further while also fixing the library vulnerability. |
Yeah, when I said force user to create anything, I meant channels, roles etc.. like CB does. The creation of the config through a script is nothing but positive imo. I gave the script a read and it looked fine to me. |
The best solution to re-introduce the set-up script seems to be to update the |
This has been practically auto-closed with the migration to V2. I will look into bringing back an install script in the future. |
I have recently noticed that the setup script (
npm run setup
) is now heavily outdated after the config changes and ultimately, too primitive to actively implement. Additionally, the prompt library introduces a minor vulnerability that we, naturally, do not want to have in BrayanBot.Problem is, the prompt library may be deprecated (see #223 on their repo) and the alternatives do not include the regular expression checker that I need the setup.js to be opinionated to the necessary degree.
The alternatives are:
We can either contribute to one of the alternative libraries (would good publicity) or deprecate setup.js entirely.
The text was updated successfully, but these errors were encountered: