Add files via upload
This commit is contained in:
10
bot/commands/restart.js
Normal file
10
bot/commands/restart.js
Normal file
@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
command: 'restart',
|
||||
description: 'restart the webserver',
|
||||
syntax: '{PREFIX}restart',
|
||||
execute: async (_this, msg) => {
|
||||
msg.channel.createMessage('Restarting...').then(() => {
|
||||
process.exit();
|
||||
});
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user