Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
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.1.117/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 "🎰".