Small tweaks

This commit is contained in:
2023-06-27 21:57:58 +02:00
parent f891460e59
commit e25742f302
3 changed files with 4 additions and 13 deletions

View File

@@ -2,12 +2,12 @@ const { SlashCommandBuilder, PermissionFlagsBits } = require('discord.js');
const getuuid = require('../utils/functions'); const getuuid = require('../utils/functions');
module.exports = { module.exports = {
name: 'functest', name: 'dev-info',
description: 'Test command for the bot.', description: 'Test command for the bot.',
type: 'slash', type: 'slash',
data: new SlashCommandBuilder() data: new SlashCommandBuilder()
.setName('functest') .setName('dev-info')
.setDescription('Test command for the bot.') .setDescription('Test command for the bot.')
.addStringOption(option => .addStringOption(option =>
option option
@@ -46,4 +46,4 @@ module.exports = {
}); });
} }
}; };

View File

@@ -22,9 +22,5 @@ async function getplayer(uuid) {
} }
} }
getuuid("smhtaken").then(uuid => {
console.log(uuid)
})
module.exports = getuuid module.exports = getuuid
module.exports = getplayer module.exports = getplayer

View File

@@ -1,5 +0,0 @@
const getuuid = require('./functions.js');
getuuid("smhtaken").then(uuid => {
console.log(uuid)
})