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

x/mtkruto/types/0_dice.ts>Dice

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Dice
import { type Dice } from "https://deno.land/x/mtkruto@0.2.50/types/0_dice.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 "🎰".