Skip to main content
Module

x/mtkruto/mod.ts>Dice

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Dice
Re-export
import { type Dice } from "https://deno.land/x/mtkruto@0.0.996/mod.ts";

This object represents an animated emoji that displays a random value.

Properties

emoji: string

Emoji on which the dice throw animation is based

value: number

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