@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
20 lines (19 loc) • 520 B
TypeScript
import type { OptionOptions } from '../interfaces';
/**
* Represents a boolean option for a command.
*/
export declare class BooleanOption<T extends boolean | null = null> {
/**
* The type of the option. Set to boolean.
*/
readonly type = "boolean";
/**
* The default value of the option.
*/
readonly defaultValue: T | null;
/**
* Create a new boolean option.
* @param options The options for the boolean option.
*/
constructor(options?: OptionOptions<T>);
}