13 lines
224 B
TypeScript
13 lines
224 B
TypeScript
import type { BotRoom } from '../room'
|
|
|
|
export abstract class BotHandler {
|
|
constructor (
|
|
protected readonly room: BotRoom
|
|
) {
|
|
this.init()
|
|
}
|
|
|
|
protected abstract init (): void
|
|
public abstract stop (): void
|
|
}
|