This commit is contained in:
2023-03-20 00:22:20 +01:00
parent 53edf9b776
commit d20eeb6a94

View File

@@ -42,11 +42,13 @@ module.exports = {
return return
} }
const guildName = guildCheck.data.name ?? "None"
await interaction.editReply({ await interaction.editReply({
embeds: [{ embeds: [{
title: stats.data.username, title: stats.data.username,
description: "**Network Level:** `" + stats.data.level.toString() + "`\n" + description: "**Network Level:** `" + stats.data.level.toString() + "`\n" +
"**Current Guild:** `" + guildCheck.data.name + "`", "**Current Guild:** `" + guildName + "`",
color: embedColor, color: embedColor,
thumbnail: { thumbnail: {
url: head url: head