Closed BoredKevin closed 4 months ago
It may be a good idea to create a .env.
file containing all the sensitive data and pass it to the config.js
for the default configuration template.
Great idea, an implementation of this already exists on SudhanPlayz/Discord-MusicBot
Ill create a quick PR
Hey there @ZerioDev, please merge #324
Thank you for the quick fix, I'm glad I brought this to attention. This issue has now been resolved.
Glad to help.
Hi there, I think that the
config.js
file should be added to the.gitignore
file to ensure that important variables containing sensitive information are not tracked by Git and are not pushed to the remote repository.Some people run this bot by forking it and since
config.js
isn't a standard way of keeping secrets, I think it should be important to add it to.gitignore