UNPKG

twitch-core

Version:
23 lines (22 loc) 546 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TwitchChatChannel = void 0; class TwitchChatChannel { constructor(originalMessage, client) { this.originalMessage = originalMessage; this.client = client; } /** * Get channel name */ get name() { return this.originalMessage.channel; } /** * Get room_id */ get id() { return this.originalMessage.room_id; } } exports.TwitchChatChannel = TwitchChatChannel;