A discord bot in typescript for rolling dices
Node >16.9.0 is required
Install the required dependencies
npm install
Then launch it, either in the foregorund...
npm start
...or in the background using a tool like PM2
npm run build
pm2 start "node /path/to/project/dist" --name dice-bot
Build the Docker image locally
docker build . --tag dice-bot
Then run a container
docker run -d --name dice-bot-1 -e DISCORD_TOKEN="your_discord_token" -e CLIENT_ID="your_client_id" dice-bot