import {IMessageEvent} from "../../../../../api";
import {MessageEvent} from "../../../../../events";
import {ModeratorMessageParser} from "../../parser";

export class ModeratorMessageEvent extends MessageEvent implements IMessageEvent {
  constructor(callBack: Function) {
    super(callBack, ModeratorMessageParser);
  }

  public getParser(): ModeratorMessageParser {
    return this.parser as ModeratorMessageParser;
  }
}
