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;
|
break;
|
||||||
case "check":
|
case "check":
|
||||||
// Check if the user is banned, if they are get their user details with noblox
|
// 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})
|
await interaction.deferReply({ephemeral: true})
|
||||||
userInfo = await noblox.getPlayerInfo(userId)
|
userInfo = await noblox.getPlayerInfo(userId)
|
||||||
userThumbnail = await noblox.getPlayerThumbnail([userId], 720, "png", false, "body")
|
userThumbnail = await noblox.getPlayerThumbnail([userId], 720, "png", false, "body")
|
||||||
|
|
Loading…
Reference in a new issue