Website: dtat.hampl.space
Bot: invite
API: Postman
- To run the server, you will need url to a running main server. You can either host it yourself, or connect to the one hosted at dtat.hampl.space.
- Create a virtual environment with Python 3.6 (discord.py doesn't support v3.7)
- Enter into virtual environment
- Install requirements
pip install -e .
- Set up a
conf.py
file by copying theconf_example.py
file and insert your bot token. You can get your token by creating a discord app, and making it into a bot user. - Within the
conf.py
file set proper url to access the main server or its proxy. - You are now all set and you can start the bot with
python dtat_discord.py
- If you want to contribute to the main repository please ensure, that your code is following the PEP8 convention. You can do that with the use of flake8 and autopep8, which you can install using
pip install -r dev-requirements.txt
, after activating your virtual environment.
If you have found a bug, or you have an idea for new feature please create an issue here on github. You can also contact me using email: dtat@hampl.space
- To generate documentation you will need to install requirements by
pip install -e .
andpip install sphinx
. - Move into the
docs
directory and usemake html
- Your documentation is now generated in the
docs/build/html
directory