Brrt
This commit is contained in:
parent
8be610735b
commit
dc9a11b444
2
index.js
2
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")
|
||||
|
|
Loading…
Reference in a new issue