From c0ed2bf7b254a17d28c7951cb663994632aa96d2 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Tue, 20 Aug 2024 14:32:33 -0600 Subject: [PATCH] gwuh --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index fd9de23..d47d94d 100644 --- a/index.js +++ b/index.js @@ -282,8 +282,9 @@ Client.on("interactionCreate", async (interaction) => { break; case "unban": // If the user is banned, unban them - userId = interaction.options.get("user").value + userId = await interaction.options.get("user").value userInfo = await noblox.getPlayerInfo(userId) + console.log(userInfo) userThumbnail = await noblox.getPlayerThumbnail([userId], 720, "png", false, "body") db.get("SELECT * FROM bans WHERE userId = ?", [userId], (err, row) => {