From d0272a2d68ec9f1f48c4984d0d231ddaeb026402 Mon Sep 17 00:00:00 2001 From: Emily J Date: Thu, 29 Oct 2020 19:31:05 +1100 Subject: [PATCH] to-do: restart command --- bot/commands/Developer/reload.js | 2 +- bot/commands/Developer/restart.js | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 bot/commands/Developer/restart.js diff --git a/bot/commands/Developer/reload.js b/bot/commands/Developer/reload.js index d315d35..8c6d25f 100644 --- a/bot/commands/Developer/reload.js +++ b/bot/commands/Developer/reload.js @@ -12,7 +12,7 @@ module.exports = class { description: 'Reloads all commands and event modules.', arguments: '', details: '', - examples: undefined + examples: '', }; } diff --git a/bot/commands/Developer/restart.js b/bot/commands/Developer/restart.js new file mode 100644 index 0000000..2cec35c --- /dev/null +++ b/bot/commands/Developer/restart.js @@ -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 + + } +}; \ No newline at end of file