Skip to main content
Module

x/bcdeno_api/src/types/types.ts>CommandResult

🎲 Use BCDice-API from Deno easily
Latest
interface CommandResult
import { type CommandResult } from "https://deno.land/x/bcdeno_api@v1.1.1/src/types/types.ts";

コマンドの実行結果

Properties

text: string

コマンドの実行結果

secret: boolean

このダイスがシークレットダイスか否か

success: boolean

このコマンドが成功したか否か

failure: boolean

このコマンドが失敗したか否か

critical: boolean

このコマンドがクリティカル(決定的成功)か否か

fumble: boolean

このコマンドがファンブル(致命的失敗)か否か

rands: DiceRoll[]

実際に振られたダイス