gwuh
This commit is contained in:
parent
0aab6f0c81
commit
c0ed2bf7b2
3
index.js
3
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) => {
|
||||
|
|
Loading…
Reference in a new issue