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

Home Page:http://www.rolisteam.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Macros expanding in comments

futuraprime opened this issue · comments

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)

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

See #142 for explanation