This commit is contained in:
手瓜一十雪 committed 2025-02-14 14:41:16 +08:00
1 parent da7499ec0b
commit fa5ef0c221
3 files changed
+13 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { ActionName } from '@/onebot/action/router';
import { OneBotAction } from '../OneBotAction';
export class BotExit extends OneBotAction<void, void> {
override actionName = ActionName.Exit;
async _handle() {
process.exit(0);
}
}