@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
29 lines (28 loc) • 800 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MentionOption = void 0;
/**
* Represents a mention option.
*/
class MentionOption {
/**
* The type of the mention option. It's always mention.
*/
type = 'mention';
/**
* The default value of the mention option. Always null as actually there is not planned way to set a default value.
*/
defaultValue = null;
/**
* Whether the mention option is grouped into more than two types of mention.
*/
grouped = false;
/**
* Creates a new instance of the mention option.
* @param options The options of the mention option.
*/
constructor(options) {
this.grouped = options?.grouped ?? false;
}
}
exports.MentionOption = MentionOption;