@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
25 lines (24 loc) • 709 B
TypeScript
/**
* Represents a mention option.
*/
export declare class MentionOption<T extends null = null, K extends boolean = false> {
/**
* The type of the mention option. It's always mention.
*/
readonly type = "mention";
/**
* The default value of the mention option. Always null as actually there is not planned way to set a default value.
*/
readonly defaultValue: T;
/**
* Whether the mention option is grouped into more than two types of mention.
*/
readonly grouped: K;
/**
* Creates a new instance of the mention option.
* @param options The options of the mention option.
*/
constructor(options?: {
grouped?: K;
});
}