1.9 KiB
Contributing to Melody
Contributions are more than welcome! Contributing to Melody means that it is kept in a working condition, which means that less people have to worry about paying for bots just to listen to music with their friends.
Even if you can't contribute directly to the codebase, you can open an issue on GitHub to report bugs or request new features.
Contributing Through Issues
To contribute through issues and feature requests, open a new issue on the GitHub issues page of the main Melody repository (NerdyTechy/Melody). Make your issue as descriptive as possible, including things like steps to reproduce for bug reports, and how you would like a feature to be implemented for feature requests.
Once you have submitted your issue, someone will review it and potentially add your features, or fix your bugs. Once that's happened, you've officially contributed to Melody! :D
Contributing to the Codebase
If you want to contribute directy to the code base, you can do so through a pull request.
- Fork this repository
- Add your code, and test it (We want all code on the main repo to be working)
- Format all of your code with prettier using
npm run format
- Ensure that none of the documentation is incorrect after your changes
- Create a pull request to merge it back into the main repository!
We do ask that once you fork Melody with the intention of merging back in, that your fork is kept up to date with the main repository. GitHub makes this really easy to do, with a little tracker that shows how many commits ahead and behind your fork is with options to sync the two.
Developing Locally
Developing Melody locally is actually really simple, just clone the repository, rename config.yml.example
to config.yml
, fill in the configuration details, then run npm run test
to start up the bot.