Rollux/README.md

719 B

Rollux

Rollux is a simple dice rolling bot for discord

How to run

  1. Make a discord bot here.
    • Here is a tutorial on how to make a discord bot.
  2. Make a auth.json file and add the following to it:
{
    "token": "{your token}"
}
  1. Install node.js and npm, then run the following command: npm install
  2. Run it with node bot.js

Running with docker

  1. Build docker image

  2. Mount /data directory in container with your auth.json file

Example docker-compose file:

version: '2'

services:
  rollux:
    image: 'rollux'
    volumes:
      - ./data:/data