From 91b3b6bc1e958e17dc9b6b744ab657f94bae614c Mon Sep 17 00:00:00 2001 From: Supositware Date: Fri, 23 Sep 2022 19:41:07 +0200 Subject: [PATCH] Add "voice" category --- commands/utility/help.js | 1 + index.js | 1 + scripts/deploy-commands.js | 1 + 3 files changed, 3 insertions(+) diff --git a/commands/utility/help.js b/commands/utility/help.js index 6dee9779..e949f311 100644 --- a/commands/utility/help.js +++ b/commands/utility/help.js @@ -144,6 +144,7 @@ export default { utility: '🔩\u2000Utility', admin: '⚡\u2000Admin', owner: '🛠️\u2000Owner', + voice: '🗣️\u2000Voice', }[category]; embed.addFields({ name: title, value: `\`${object[category].join('` `')}\`` }); diff --git a/index.js b/index.js index c57f32a6..72d1ef26 100644 --- a/index.js +++ b/index.js @@ -20,6 +20,7 @@ client.commands = new Collection(); await loadCommandFromDir('fun'); await loadCommandFromDir('secret'); await loadCommandFromDir('utility'); +await loadCommandFromDir('voice'); await loadCommandFromDir('admin'); await loadCommandFromDir('owner'); diff --git a/scripts/deploy-commands.js b/scripts/deploy-commands.js index c3fffd06..2f7bb0b1 100644 --- a/scripts/deploy-commands.js +++ b/scripts/deploy-commands.js @@ -14,6 +14,7 @@ const commands = []; await loadCommandFromDir('fun'); await loadCommandFromDir('secret'); await loadCommandFromDir('utility'); +await loadCommandFromDir('voice'); await loadCommandFromDir('admin'); await loadCommandFromDir('owner'); commands.map(command => command.toJSON());