Module:Dice/Format: Difference between revisions

oops should have left that name alone
(update to be compatible with new version of Module:Dice)
(oops should have left that name alone)
Line 3: Line 3:
local DiceFormat = {}
local DiceFormat = {}


function DiceFormat.dice_stats(frame)
function DiceFormat.diceStats(frame)
     local succeeded, dice = pcall(Dice.from_range_string, frame.args.roll)
     local succeeded, dice = pcall(Dice.from_range_string, frame.args.roll)