Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

Latest commit

 

History

History
38 lines (27 loc) · 697 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 697 Bytes

tw-utils DIscord Bot

How to build and run ?

  1. Install the dependencies
  • Python3
  • Redis
  • NodeJS
python3 -m pip install -r requirements.txt
  1. Create the file config.ini in the repository source using the config_example.ini

    • Insert a discord token
    • Complete the fields
  2. Execute the file main.py with python3 (version <= 3.8) to start the bot

Docker

To download the submodules

git submodule init
git submodule update

Launch containers

You need some environment variables:

  • TW_UTILS_PORT
  • STORAGE_PATH
  • REDIS_PASSWORD
TW_UTILS_PORT=3000 STORAGE_PATH=./storage REDIS_PASSWORD=super_pass docker-compose up