UNPKG

@twitchfy/chatbot

Version:

A powerful node module to make your own Twitch ChatBot

25 lines (24 loc) 587 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BooleanOption = void 0; /** * Represents a boolean option for a command. */ class BooleanOption { /** * The type of the option. Set to boolean. */ type = 'boolean'; /** * The default value of the option. */ defaultValue; /** * Create a new boolean option. * @param options The options for the boolean option. */ constructor(options) { this.defaultValue = options?.defaultValue ?? null; } } exports.BooleanOption = BooleanOption;