ShareX-Upload-Server/src/bot/commands/restart.js

10 lines
267 B
JavaScript

module.exports = {
command:"restart",
description: "restart the webserver",
syntax: "{PREFIX}restart",
execute:async (_this, msg, args) => {
msg.channel.createMessage("Restarting...").then(m => {
process.exit()
})
}
}