@japofc/baileys - v2.4.7
    Preparing search index...

    Variable rollDiceConst

    rollDice: (notation: string, options?: { random?: () => number }) => DiceRoll

    Roll dice notation: '2d6+3', 'd20'. Throws on invalid/out-of-range.

    Type Declaration

      • (notation: string, options?: { random?: () => number }): DiceRoll
      • Parameters

        • notation: string
        • Optionaloptions: { random?: () => number }

        Returns DiceRoll