Cleanup
This commit is contained in:
parent
ea6997ac48
commit
08a387b1a9
@ -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
|
||||
|
@ -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}', `
|
||||
|
Loading…
x
Reference in New Issue
Block a user