Reference

roll_cli

Roll.

roll_cli.roll(expression='', verbose=False, roll_option=RollOption.Normal)

Evalute a string for dice and mathematical operations and calculate.

Parameters
  • expression (str) –

  • verbose (bool) –

  • roll_option (roll_cli.parser.types.rolloption.RollOption) –

Return type

Union[int, float, roll_cli.parser.types.evaluationresults.EvaluationResults]