class Tourmaline::Dice
- Tourmaline::Dice
- Reference
- Object
Overview
This object represents an animated emoji that displays a random value.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
Instance Method Summary
-
#emoji : String
Emoji on which the dice throw animation is based
-
#emoji=(emoji : String)
Emoji on which the dice throw animation is based
-
#value : Int32 | Int64
Value of the dice, 1-6 for "🎲", "🎯" and "🎳" base emoji, 1-5 for "🏀" and "⚽" base emoji, 1-64 for "🎰" base emoji
-
#value=(value : Int32 | Int64)
Value of the dice, 1-6 for "🎲", "🎯" and "🎳" base emoji, 1-5 for "🏀" and "⚽" base emoji, 1-64 for "🎰" base emoji
Constructor Detail
Instance Method Detail
def value : Int32 | Int64
#
Value of the dice, 1-6 for "🎲", "🎯" and "🎳" base emoji, 1-5 for "🏀" and "⚽" base emoji, 1-64 for "🎰" base emoji
def value=(value : Int32 | Int64)
#
Value of the dice, 1-6 for "🎲", "🎯" and "🎳" base emoji, 1-5 for "🏀" and "⚽" base emoji, 1-64 for "🎰" base emoji