- If you want to ask anything about this project, please feel free to open an issue here.
- Any bugs that are found in the documentation or in any part of bot, can be reported using the Bug Report Template.
- Do not upload any compiled binaries with your PR. β
- Please be polite and helpful to everyone. π
If you would like to provide a fix for a problem you can do so by opening a Pull Request here. Below are some points to consider:
- Please open a Draft PR if you want to change a lot of things.
- Provide a list of all the fixes that you have done in the PR description.
- If your PR fixes an Issue, consider mentioning it with
fixes #IssueNumber. - Provide all the details in the PR template as applicable.
- If you want to add a new feature please open an issue first to discuss it or your changes may not get merged.
Please make sure that your code follows the PEP8 guidelines.
Before committing your changes to the repository, run pre-commit run --all-files or pipenv run lint this will highlight and fix some errors.
For PyCharm users you can use the key combination Ctrl + Alt + L to format your code.
For VsCode users, create a .vscode folder in your project root and create a settings.json file inside it. Place the following in the settings.json file:
{
"editor.formatOnSave": true,
"python.formatting.provider": "autopep8"
}You can also use autopep8 directly from the command line using autopep8 -i filename.
After fixing all the errors, push your changes and then open a PR.
- Fork the repository.
- Clone it to your local machine to work with the Project.
- Install pipenv if you haven't using
pip3 install pipenv. - Create a Virtual Environment with pipenv using
pipenv shell. - Install the project dependencies using
pipenv install --dev. - Open the Project in the Editor of your choice.
- Congratulations, you are now ready to Contribute. π
NOTE: For linux users, you will need to install
psycopg2-binaryinstead ofpsycopg2in the step 5.
- Follow this guide here on how to create a server and the Bot.
- After getting all the required values, create a
.envfile in the project root using the.env.exampleas a template and place the values in it. - Now, if you run the
__main__.pyfile you should see the BOT online in your test server.
NOTE: It is optional for you to set up the PostgreSQL database.