This commit is contained in:
手瓜一十雪 committed 2025-02-14 14:41:16 +08:00
1 parent b5deb9ca40
commit 0426daba09
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);
}
}