Minor bug fix

This commit is contained in:
2023-03-18 23:49:13 +01:00
parent e77d874039
commit cfbb963141
2 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,8 @@ module.exports = {
return
}
const user = interaction.user;
const user1 = interaction.options.getUser('user');
const user = interaction.guild.members.cache.get(user1.id);
const slothPixel = "https://api.slothpixel.me/api/players/";
const guildAPI = "https://api.slothpixel.me/api/guilds/"
const mojangAPI = "https://api.mojang.com/user/profile/"