First off, thank you for considering contributing to Nexus! It's people like you that make this project such a great tool for Discord communities.
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code.
Please don't file an issue to ask a question. You'll get faster results by using the community chat resources:
- Join our Discord Server
- Check out the discord.js guide
Our project uses discord.js v14, which means you should be familiar with modern JavaScript and Node.js. The main entry point of the bot is located in index.js
, with commands and event handlers organized into separate directories.
Ensure you have Node.js v16 or newer installed, as discord.js v14 requires it. Additionally, you'll need a Discord account and a test server to try out your changes.
If you encounter a bug, please file an issue with a clear title and description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
Enhancement suggestions are also welcome. Please include as many details as possible, with a focus on why the enhancement would be beneficial to Nexus.
Unsure where to begin contributing to Nexus? Look for 'good first issue' labels on our issue tracker.
- Fork the repository and create your branch from
main
. - Ensure you have tested your code.
- Update the README.md with details of changes, if applicable.
- Issue the pull request.
- Use the present tense ("Add feature" not "Added feature").
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
- Limit the first line to 72 characters or less.
- Reference issues and pull requests liberally after the first line.
All JavaScript must adhere to Airbnb's JavaScript Style Guide.
- Use Markdown for documentation.
- Document new code based on any changes.
Feel free to contact us at [contact@toowake.dev] if you have any questions or need help.
Thank you for your contributions to Nexus!