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.NumberOption = void 0; /** * Represents a number option. */ class NumberOption { /** * The type of the option. It's always number. */ type = 'number'; /** * The default value of the option. */ defaultValue; /** * Creates a new instance of the number option. * @param options The options of the number option. */ constructor(options) { this.defaultValue = options?.defaultValue ?? null; } } exports.NumberOption = NumberOption;