diff --git a/index.js b/index.js index d6d0275..8fd4590 100644 --- a/index.js +++ b/index.js @@ -345,7 +345,7 @@ Client.on("interactionCreate", async (interaction) => { break; case "check": // Check if the user is banned, if they are get their user details with noblox - userId = interaction.options.get("user").value + userId = await interaction.options.get("user").value await interaction.deferReply({ephemeral: true}) userInfo = await noblox.getPlayerInfo(userId) userThumbnail = await noblox.getPlayerThumbnail([userId], 720, "png", false, "body")