We use the standard RPG dice syntax, <number of dice> d <number of sides of the dice>

Examples:

5d20: Rolls 5 20-sided dice and returns the sum of them all

100d4: Rolls 100 4-sided dice and returns the sum of them all

By default, if the number of dice is not written, it will be considered 1, and if the number of sides is not written, it will be considered 20.

Examples:

d5: Rolls 1 5-sided die

42d: Rolls 42 20-sided dice

d: Rolls 1 20-sided die

Note To avoid DoS attacks on the bot, the total amount of dice cannot exceed 200, and the maximum number of sides on a die is 1000.