peertube-plugin-livechat/bots/lib/bot/handlers/base.ts

13 lines
224 B
TypeScript
Raw Normal View History

import type { BotRoom } from '../room'
export abstract class BotHandler {
constructor (
protected readonly room: BotRoom
) {
this.init()
}
protected abstract init (): void
2021-12-08 15:12:47 +00:00
public abstract stop (): void
}