Discord/Twitch Bots and API servers for TimeEnjoyed Events.
- Please make sure you have Python 3.10+
- Install PostgreSQL on your system.
- Create a database user and database (Note them down for later)
Run the following command from within an activated virtual environment of Python 3.10+:
pip install -U -r requirements.txt- Create a file:
config.tomland copy and paste the contents fromconfig.example.toml - Fill out the dsn for the database with the details from earlier.
- Create a Discord Application and Bot. Generate a token and put it in your
config.tomlunder tokens.
- Run each service separately by running the respective
launcher.pyin each directory.