Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/mtkruto/3_types.ts>Dice

Cross-runtime JavaScript library for building Telegram clients
Latest
interface Dice
Re-export
import { type Dice } from "https://deno.land/x/mtkruto@0.6.2/3_types.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 "🎰".