dicedicedice/README.md
2023-05-19 16:50:49 -06:00

1.5 KiB

an image of the eater

dicedicedice

A discord bot for metaphorically "rolling dice"/generating random values. Made for use with Weaverdice systems.

Icon by Zauromoun

Features

╭ 2d6 - 1
7 ⟵ [3, 5] 2d6 - 1

  • "take the highest" rolls:

╭ 2h6 + 1
6 ⟵ [4, 5] 2h6 + 1

  • "take the lowest" rolls:

╭ 2l6 + 3
4 ⟵ [4, 1] 2l6 + 3

  • Multiplication/division/subtraction, whatever you want

d6 * 1

d6 x 2

d6 / 3

d6 - 4

  • Descriptions!

╭ 2h6 + 1 eat pant
'eat pant', 7 ⟵ [4, 6] 2h6 + 1

  • Outcomes!

╭ 2h6 + 1
│ 1-2 your body rejects the pant
│ 3-4 you manage to scarf it down
│ 5-6 you absorb the nutrients of the pant
'your body rejects the pant', 2 ⟵ [1, 1] 2h6 + 1

  • Command editing and recalculation!

There is not a demonstration for this

Invite the bot now! By clicking this link!

Installation

This is for self-hosting. Provided the bot is online you can add it to your server simply by clicking the link above.

Yarn:

git clone https://github.com/Dakedres/dicedicedice.git
yarn run init

npm:

git clone https://github.com/Dakedres/dicedicedice.git
npm i
cp template.env .env

You will need to provide a token and place it in the .env file.