If you wish to contribute to the discord.js codebase or documentation, feel free to fork the repository and submit a pull request. We use ESLint to enforce a consistent coding style, so having that set up in your editor of choice is a great boon to your development process.
To get ready to work on the codebase, please do the following:
- Fork & clone the repository, and make sure you're on the master branch
- Run
npm install
- If you're working on voice, also run
npm install node-opus
ornpm install opusscript
- Code your heart out!
- Run
npm test
to run ESLint and ensure any JSDoc changes are valid - Submit a pull request