Class DiceType.

This object represents a dice with random value from 1 to 6 for currently supported base emoji. (Yes, we're aware of the “proper” singular of die. But it's awkward, and we decided to help it change. One dice at a time!)

see
package Default

 Properties

 

Emoji on which the dice throw animation is based.

$emoji : string | null

Default

 

Value of the dice, 1-6 for “🎲” and “🎯” base emoji, 1-5 for “🏀” and “⚽” base emoji, 1-64 for “🎰” base emoji

$value : integer

Default