First off, thank you for considering contributing to ComfyUI-DiscordSend! It's people like you that make this such a great tool.
This project and everyone participating in it is governed by the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
If you've noticed a bug, open a new issue! It's generally best if you get confirmation of your bug this way before starting to code.
If you have a feature request, open a new issue! It's generally best to get approval for your feature request this way before starting to code.
Unsure where to begin contributing? You can start by looking through good first issue and help wanted issues:
- Good first issues - issues which should only require a few lines of code, and a test or two.
- Help wanted issues - issues which should be a bit more involved than
good first issueissues.
- Fork & create a branch. Fork the repository and create a branch with a descriptive name. A good branch name would be (where issue #325 is the ticket you're working on):
git checkout -b 325-add-japanese-translations - Set up your development environment. To get started, you'll want to clone the repository and set up a virtual environment.
git clone https://github.com/AEmotionStudio/ComfyUI-DiscordSend.git cd ComfyUI-DiscordSend python -m venv venv source venv/bin/activate pip install -r requirements.txt
- Implement your fix or feature. At this point, you're ready to make your changes! Feel free to ask for help; everyone is a beginner at first.
- Make a Pull Request. At this point, you should switch back to your
masterbranch and make sure it's up to date with the latest upstream version of the repository.Then update your feature branch from your local copy ofgit remote add upstream git@github.com:AEmotionStudio/ComfyUI-DiscordSend.git git checkout master git pull upstream master
master, and push it!Finally, go to GitHub and make a Pull Request.git checkout 325-add-japanese-translations git rebase master git push --force-with-lease origin 325-add-japanese-translations
- 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 Python code should adhere to PEP 8.