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

Macros expanding in comments #127

Closed futuraprime closed 2 years ago

futuraprime commented 3 years ago

I've created a macro for Ars Magica stress dice, which I assigned the label s—but this gets caught in comments, like so:

Player:
!1d10+7 # Vis

DiceParser BOT:
Vid10e1y;$1k1;$1c1;$22**$3;$1i[=10]{"botched (%2)"}{"rolled %3 (%2)"}
# 10
Details:[1d10+7 #  (3)]

(The 's' in Vis has been converted into the command macro)

obiwankennedy commented 3 years ago

It is not a bug, you have to specify a less permissive triggering pattern for the macro.

obiwankennedy commented 2 years ago

See #142 for explanation