From 1d9bcc95979e64e92e7f4f74bb31dd98d0df274f Mon Sep 17 00:00:00 2001 From: Supositware Date: Tue, 30 Aug 2022 23:29:50 +0200 Subject: [PATCH] Secret category --- commands/{fun => secret}/s.js | 2 +- index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename commands/{fun => secret}/s.js (95%) diff --git a/commands/fun/s.js b/commands/secret/s.js similarity index 95% rename from commands/fun/s.js rename to commands/secret/s.js index 8ea62a4a..f075bc51 100644 --- a/commands/fun/s.js +++ b/commands/secret/s.js @@ -8,7 +8,7 @@ export default { option.setName('something') .setDescription('🤫') .setRequired(true)), - category: 'fun', + category: 'secret', async execute(interaction, args) { const command = args[0]; diff --git a/index.js b/index.js index dc2e3a75..c57f32a6 100644 --- a/index.js +++ b/index.js @@ -18,6 +18,7 @@ const client = new Client({ // Load commands client.commands = new Collection(); await loadCommandFromDir('fun'); +await loadCommandFromDir('secret'); await loadCommandFromDir('utility'); await loadCommandFromDir('admin'); await loadCommandFromDir('owner');