A discord bot for interacting with the tibia market tracker API
Depending on your OS, you might need to swap out python
with python3
, and pip
with pip3
for python3 support.
- (Optionally) Create a virtual environment using
python -m venv venv
and use it'spip
andpython
for the following steps - Install all required packages using
pip install -r requirements.txt
- Start the bot by running
python src/main.py
- Enter the tokens it asks for
- Code conventions can be tested using
pylint $(git ls-files "*.py")
- Go through all things it complain about to keep your code clean
- Unit tests can be executed using
pytest
- If any test fails, resolve it
- Fork the Repository
- Go here to create your own copy of the repository
- Clone your fork
- Clone your forked repository to your local machine using
git clone https://github.com/YOUR-USERNAME/tibia-market-tracker-bot.git
- Clone your forked repository to your local machine using
- Create a new branch
- Before making any changes, create a new branch
git checkout -b my-feature-branch
- Before making any changes, create a new branch
- Make your changes
- Implement your changes and push them
git add . git commit -m "Description of my changes" git push origin my-feature-branch
- Implement your changes and push them
- Create a Pull Request
- Go here and select your feature branch
- Provide a description of your changes and submit the pull request