719 B
719 B
Rollux
Rollux is a simple dice rolling bot for discord
How to run
- Make a discord bot here.
- Here is a tutorial on how to make a discord bot.
- Make a auth.json file and add the following to it:
{
"token": "{your token}"
}
- Install node.js and npm, then run the following command:
npm install - Run it with
node bot.js
Running with docker
-
Build docker image
-
Mount
/datadirectory in container with your auth.json file
Example docker-compose file:
version: '2'
services:
rollux:
image: 'rollux'
volumes:
- ./data:/data