UNPKG

@twitchfy/chatbot

Version:

A powerful node module to make your own Twitch ChatBot

25 lines (24 loc) 798 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MessageReplyThread = void 0; const BaseMessage_1 = require("./BaseMessage"); /** * Represents the message which started a thread of replies. */ class MessageReplyThread extends BaseMessage_1.BaseMessage { /** * The chatroom where the message was sent. */ chatroom; /** * Creates a new instance of the message reply thread. * @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, content: null }); this.chatroom = chatroom; } } exports.MessageReplyThread = MessageReplyThread;