to-do: restart command
This commit is contained in:
parent
ec89ac187b
commit
d0272a2d68
2 changed files with 23 additions and 1 deletions
|
@ -12,7 +12,7 @@ module.exports = class {
|
|||
description: 'Reloads all commands and event modules.',
|
||||
arguments: '',
|
||||
details: '',
|
||||
examples: undefined
|
||||
examples: '',
|
||||
};
|
||||
}
|
||||
|
||||
|
|
22
bot/commands/Developer/restart.js
Normal file
22
bot/commands/Developer/restart.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
module.exports = class {
|
||||
constructor (name, category) {
|
||||
this.name = name,
|
||||
this.category = category,
|
||||
this.enabled = true,
|
||||
this.devOnly = true,
|
||||
this.aliases = ['reboot'],
|
||||
this.userPerms = [],
|
||||
this.botPerms = [],
|
||||
this.cooldown = 0,
|
||||
this.help = {
|
||||
description: 'Restarts Woomy.',
|
||||
arguments: '',
|
||||
details: '',
|
||||
examples: ''
|
||||
};
|
||||
}
|
||||
|
||||
run (client, message, args, data) { //eslint-disable-line no-unused-vars
|
||||
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue