possumbot/commands/restart.js
2024-08-27 19:52:32 +00:00

13 lines
221 B
JavaScript

import { exec } from "node:child_process";
function execute(client, event, args) {
process.exit(255);
}
export default {
command: "restart",
name: "restart",
owner: true,
desc: "restarts the bot",
execute
}