Thank you for considering contributing to this project. This guide provides information about how to contribute and help make this project better.
- Setting Up the Development Environment
- Finding Issues to Work On
- Creating a Pull Request
- Coding Standards
- Additional Notes
If you encounter any problems or have suggestions for improvements, please feel free to report them in the Issues section of this GitHub repository. To ensure efficient and effective communication, please follow these guidelines when submitting an issue:
-
Use a Clear Title: Write a concise and informative title for the issue that briefly summarizes the problem or suggestion.
-
Provide Detailed Information: In the description, include as much relevant information as possible. This might include:
- The steps to reproduce the issue (if applicable).
- The expected outcome versus the actual outcome.
- Any error messages or screenshots that illustrate the problem.
- Your environment details, like the operating system and version of the software you are using.
-
Label Your Issue: If possible, categorize your issue using labels. Common labels include
bug
,feature request
,enhancement
,documentation
, etc. -
Be Respectful and Constructive: Remember to be respectful and constructive in your communication. We appreciate your contribution to improving this project.
Thank you for helping us make this project better!
- Fork the Repository: Start by forking the main repository.
- Clone Your Fork:
git clone https://github.com/MaloLM/Discord-PersonaBot.git
- Navigate to the directory:
cd Discord-PersonaBot
- Add Upstream Remote:
git remote add upstream https://github.com/MaloLM/Discord-PersonaBot.git
- Install Dependencies:
-
Optional: Install PM2 (a Node.js process manager):
$ npm install pm2@latest -g # or $ yarn global add pm2
-
Install the Python dependencies at the project root:
pip install -r requirements.txt
PM2 helps in managing and keeping your application online.
After completing these steps, your project should be set up and ready to run. Follow any additional setup or configuration instructions specific to the project.
- Update Your Fork:
git fetch upstream git merge upstream/main main
- Create a New Branch:
git checkout -b branch-name
- Make Your Changes.
- Commit and Push Your Changes:
git add . git commit -m "Descriptive commit message" git push origin branch-name
- Navigate to the GitHub page of your fork, and click on "New Pull Request".
- Ensure the base branch is the main branch of the main repository, and the compare branch is your branch with changes.
- Ensure your code is properly formatted.
- Write meaningful commit messages.
- Add comments explaining complex sections of your code.
- Ensure the project builds/tests pass after your changes.
- Please be respectful and considerate to other contributors. Adhere to the Code of Conduct.