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