Rolisteam / DiceParser

Powerful dice Roller is used as discord bot, irc bot, cli tool and inside Rolisteam : 1d20+4, 1L[head,arm,leg,belly,chest], 1d6+1d8, 8+5*3
http://www.rolisteam.org/
GNU General Public License v3.0
125 stars 31 forks source link

"Next instruction" - operator not always concatenates instructions #100

Closed DeBourgh closed 3 years ago

DeBourgh commented 4 years ago

Hi,

I am just trying out stuff with the Dice Parser Bot. I noticed a weird behaviour that i did not expected:

The command !2Lu[cats,dogs,rats,rabbits,bats,squirrels];"asdasd" was executed as expected with following output: squirrels,rabbits ; asdasd. Any string operation seems to work there except an empty string.

However, the command !2Lu[cats,dogs,rats,rabbits,bats,squirrels];1d4 was not executed as expected with following output: squirrels,bats. Any other dice operation after a Lu operation seems not to be executed.

Erik

obiwankennedy commented 4 years ago

ok, i will check that.

obiwankennedy commented 4 years ago

I checked, it was already fixed on master. I deployed the version on discord. let me know if it fixes the issue for you.