@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
17 lines (16 loc) • 784 B
JavaScript
import { __decorate } from "tslib";
import { rtfm } from '@twurple/common';
import { EventSubChannelBaseModerationEvent } from "./EventSubChannelBaseModerationEvent.mjs";
/**
* An EventSub event representing a moderator disabling subscribers-only mode on a channel.
*/
let EventSubChannelSubscribersOffModerationEvent = class EventSubChannelSubscribersOffModerationEvent extends EventSubChannelBaseModerationEvent {
constructor() {
super(...arguments);
this.moderationAction = 'subscribersoff';
}
};
EventSubChannelSubscribersOffModerationEvent = __decorate([
rtfm('eventsub-base', 'EventSubChannelSubscribersOffModerationEvent', 'broadcasterId')
], EventSubChannelSubscribersOffModerationEvent);
export { EventSubChannelSubscribersOffModerationEvent };