This commit is contained in:
Christopher Cookman 2024-08-20 14:32:33 -06:00
parent 0aab6f0c81
commit c0ed2bf7b2
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -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) => {