@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
25 lines (24 loc) • 790 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessageReplyParent = void 0;
const BaseMessage_1 = require("./BaseMessage");
/**
* Represents a message in a chatroom that was replied by another message.
*/
class MessageReplyParent extends BaseMessage_1.BaseMessage {
/**
* The chatroom where the message was sent.
*/
chatroom;
/**
* Creates a new instance of the message reply parent.
* @param chatbot The current instance of the chatbot.
* @param data The data of the message.
* @param chatroom The chatroom where the message was sent.
*/
constructor(chatbot, data, chatroom) {
super(chatbot, data);
this.chatroom = chatroom;
}
}
exports.MessageReplyParent = MessageReplyParent;