The bot-based drivers hub for VTC management.
Run ./scripts/setupdb.sh
for creating tables from schema.sql
:
./setupdb.sh <db_name> <db_user>
Environment initialization:
poetry init
Install dependencies:
poetry install --only main
Create a secret file with the discord key, db name and username:
export DISCORD_API_TOKEN=...
export POSTGRES_DBNAME=...
export POSTGRES_USER=...
And export it:
source file
Then:
poetry run bot
At starts with other ways it causes the import errors.
The project stack: discord.py, psycopg, pytest + dpytest. Check out our contributing guidelines for ways to give feedback and contribute.