UNPKG

@twitchfy/chatbot

Version:

A powerful node module to make your own Twitch ChatBot

25 lines (24 loc) 585 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StringOption = void 0; /** * Represents a string option. */ class StringOption { /** * The type of the option. It's always string. */ type = 'string'; /** * The default value of the option. */ defaultValue; /** * Creates a new instance of the string option. * @param options The options of the string option. */ constructor(options) { this.defaultValue = options?.defaultValue ?? null; } } exports.StringOption = StringOption;