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