mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-10 05:29:02 +08:00
11 lines
255 B
TypeScript
11 lines
255 B
TypeScript
import { ActionName } from '@/napcat-onebot/action/router';
|
|
import { OneBotAction } from '../OneBotAction';
|
|
|
|
export class BotExit extends OneBotAction<void, void> {
|
|
override actionName = ActionName.Exit;
|
|
|
|
async _handle () {
|
|
process.exit(0);
|
|
}
|
|
}
|