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

TaylorJCassidy/DiceBot

Repository files navigation

DiceBot

A Discord Dice bot written using NodeJS and a module called "Discord.JS".

This bot can:

  • Roll a complex set of dice
  • Have numerous modifiers for said dice e.g. double final result
  • Save user's dice rolls under an alias
  • Generate D&D stats and other numerous D&D functions
  • Numerous utility bot functions e.g. change command prefixes

Running Locally

First Time Setup

In order to run this bot locally, you will need a Discord bot token, which you can generate yourself here. Replace YOUR-TOKEN-HERE within .env.sample with the token you have generated. Then rename this file to remove the '.sample', leaving you with a file named .env. The other fields within the .env file are optional.

Next, you will have to install the dependencies through npm. Open a terminal window within this directory and type npm install.

Starting

Once the above has been completed, to start the bot open a terminal window within this directory and type npm start.