From e25742f302514cf02f82f703653a00b60627d3b6 Mon Sep 17 00:00:00 2001 From: Taken Date: Tue, 27 Jun 2023 21:57:58 +0200 Subject: [PATCH] Small tweaks --- commands-testing/{functest.js => dev-info.js} | 6 +++--- utils/functions.js | 6 +----- utils/test.js | 5 ----- 3 files changed, 4 insertions(+), 13 deletions(-) rename commands-testing/{functest.js => dev-info.js} (96%) delete mode 100644 utils/test.js diff --git a/commands-testing/functest.js b/commands-testing/dev-info.js similarity index 96% rename from commands-testing/functest.js rename to commands-testing/dev-info.js index ae97c49..6f01af0 100644 --- a/commands-testing/functest.js +++ b/commands-testing/dev-info.js @@ -2,12 +2,12 @@ const { SlashCommandBuilder, PermissionFlagsBits } = require('discord.js'); const getuuid = require('../utils/functions'); module.exports = { - name: 'functest', + name: 'dev-info', description: 'Test command for the bot.', type: 'slash', data: new SlashCommandBuilder() - .setName('functest') + .setName('dev-info') .setDescription('Test command for the bot.') .addStringOption(option => option @@ -46,4 +46,4 @@ module.exports = { }); } -}; \ No newline at end of file +}; diff --git a/utils/functions.js b/utils/functions.js index c76453c..d040fde 100644 --- a/utils/functions.js +++ b/utils/functions.js @@ -22,9 +22,5 @@ async function getplayer(uuid) { } } -getuuid("smhtaken").then(uuid => { - console.log(uuid) -}) - module.exports = getuuid -module.exports = getplayer \ No newline at end of file +module.exports = getplayer diff --git a/utils/test.js b/utils/test.js deleted file mode 100644 index 1ea209f..0000000 --- a/utils/test.js +++ /dev/null @@ -1,5 +0,0 @@ -const getuuid = require('./functions.js'); - -getuuid("smhtaken").then(uuid => { - console.log(uuid) -}) \ No newline at end of file