API / @aionbuilders/nabu

CommandConfirmOptions

Type Stability: stable

Definition

TypeScript
import type { CommandConfirmOptions } from '@aionbuilders/nabu';
TypeScript
interface CommandConfirmOptions {
  clock?: ConfirmClock;
  holdMs?: number;
  inviteMs?: number;
  messages?: ConfirmMessages;
}

Properties

Properties of CommandConfirmOptions
PropertyTypeDescription
clockoptionalConfirmClock

time source (tests)

holdMsoptionalnumber

default duration of a hold (700)

inviteMsoptionalnumber

default time an invite waits (5000)

messagesoptionalConfirmMessages

texts, see ConfirmMessages

Source: src/lib/utils/command-confirm.svelte.js:117