import { Adapter , Logger } from 'koishi' ; import type { BotConfig , MiraiBot } from './bot' ; const logger = new Logger ( 'mirai' ) ; export class WebSocketClient extends Adapter < BotConfig > { async connect ( bot ) { console . log ( bot ) ; } start ( ) { } stop ( ) { logger . debug ( 'ws server closing' ) ; } }