A discord bot that rolls an infinite amount of dice with an infinite amount of sides
View Demo
·
Report Bug
·
Request Feature
A discord bot that lets you roll any amount of dice with any amount of sides. Optionally add modifiers to your roll.
To get a local copy up and running follow these simple example steps.
You will need the following to start development on this bot:
- Node.js
- Npm
- Discord Bot
You can visit the Discord.js Documentation for step-by-step instructions on how to get setup
- Clone the repo
git clone https://github.com/ryandougc/dnd-dice-bot.git
- Install NPM packages
npm install
- Duplicate the
sample.env
file and rename it to.env
- Enter your Discord bot token and client id into the
.env
file in the respective spotsDISCORD_API_TOKEN=<place token here> DISCORD_CLIENT_ID=<place client id here>
In the Discord server chat where your bot has been added, use the following command:
/roll <!optional: modifier>
-
number of dice - Enter in how many rolls of a die should happen
-
number of faces - Enter the number of faces the die should have
-
modifier - (optional) Numbers to add to the sum of the roll. Can be positive or negative
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Purvit - @purvitgupta
Ryan - @ryanvoiture - hello@ryancarr.ca
Project Link: https://github.com/ryandougc/dnd-dice-bot