@twurple/common
Version:
Common functions used by the `@twurple` library family.
22 lines (21 loc) • 547 B
JavaScript
import { __decorate } from "tslib";
import { rawDataSymbol } from "../DataObject.mjs";
import { rtfm } from "../rtfm.mjs";
import { ChatEmote } from "./ChatEmote.mjs";
/**
* A chat emote from an emote set.
*
* @inheritDoc
*/
let ChatEmoteWithSet = class ChatEmoteWithSet extends ChatEmote {
/**
* The ID of the emote set.
*/
get setId() {
return this[rawDataSymbol].emoticon_set;
}
};
ChatEmoteWithSet = __decorate([
rtfm('common', 'ChatEmoteWithSet', 'id')
], ChatEmoteWithSet);
export { ChatEmoteWithSet };