Thank you for your interest in contributing to Hangman Bot! We welcome all kinds of contributions β from bug fixes and new features to doc improvements and suggestions.
- Fork the repository to your own GitHub account.
- Clone your fork locally: git clone https://github.com/open-devhub/hangmanbot.git cd hangman-bot
-
Create a new branch for your work:
git checkout -b feature/your-feature-name
-
Use descriptive branch names (e.g.,
fix/word-bank-bug,feature/multiplayer-mode).
- Follow standard JavaScript/Node.js conventions.
- Keep code modular and clean.
- Use meaningful commit messages: git commit -m "feat: add multiplayer challenge command"
- Test your changes locally before submitting.
- Ensure the bot runs without errors
-
Push your branch to your fork:
git push origin feature/your-feature-name
-
Open a Pull Request (PR) against the
mainbranch of the original repo. -
Clearly describe your changes in the PR description.
- Bug Fixes: Squash issues and improve stability.
- Features: Add new commands, game modes, or enhancements.
- Documentation: Improve README, add examples, or clarify instructions.
- Testing: Write unit tests or improve coverage.
Please be respectful and collaborative. We aim to maintain a welcoming environment for developers of all levels.
- If unsure about a change, open an issue first to discuss.
- Small, focused PRs are easier to review and merge.
- Keep dependencies minimal and secure.
By contributing, you agree that your contributions will be licensed under the MIT License.