This commit is contained in:
dakedres 2023-05-18 21:54:21 -06:00
parent ea6997ac48
commit 08a387b1a9
2 changed files with 17 additions and 17 deletions

View File

@ -3,6 +3,8 @@
A discord bot for metaphorically "rolling dice"/generating random values. Made for use with Weaverdice systems.
Icon by [Zauromoun]()
## Features
- Cool ez syntax blatantly copied from [rollem.rocks](https://rollem.rocks):
> 2d6 - 1

View File

@ -60,7 +60,6 @@ const handleMessage = (message, respond) => {
break
}
if(dice.operation) {
switch(dice.operation) {
case '+':
result += dice.modifier
@ -80,7 +79,6 @@ const handleMessage = (message, respond) => {
result = result / dice.modifier
break
}
}
if(dice.description)
response += `'${dice.description}', `