fix: #797
This commit is contained in:
1 parent
da7499ec0b
commit
fa5ef0c221
3 files changed
+13
-1
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user