Skip to main content
Module

x/mtkruto/mod.ts>Dice

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.1.702/mod.ts";

A rolled dice.

Properties

emoji: string

The emoji on which the dice is based on.

value: number

The result of the roll, which is in the range of 1-6 for the emojis "🎲", "🎯" and "🎳", 1-5 for the emojis "🏀" and "⚽", and 1-64 for emoji "🎰".