Add "stop command

To restart the bot.
This commit is contained in:
7cc5c4f330d47060 2024-07-16 10:06:31 -04:00
parent 01cad10e7b
commit b959bdf2af

10
plugins/commands/stop.js Normal file
View file

@ -0,0 +1,10 @@
module.exports={
execute: (c)=>{
if(c.type!=console) return;
process.exit(0);
},
desc: "Restart bot", // Command description
usage: ' <required> [optional]', // Command usage
hidden: true,
consoleIndex: true
}