diff --git a/commands/ffplayer.js b/commands/ffplayer.js index ca71975..7efb303 100644 --- a/commands/ffplayer.js +++ b/commands/ffplayer.js @@ -27,8 +27,8 @@ async function ffplayer(bot, api, interaction, channel, tag) { player_data += `<:Hashtag:1186369411439923220> Tag: **${player.tag}**\n` + `:mechanic: Role: **${player.role}**\n` - + ` Clan name: **${player.clan.name}**\n` - + `<:Hashtag:1186369411439923220> Clan tag: **${player.clan.tag}**\n\n` + + ` Clan name: **${player.clan?.name}**\n` + + `<:Hashtag:1186369411439923220> Clan tag: **${player.clan?.tag}**\n\n` + `:trophy: Trophies: **${player.trophies}**\n` + `:medal: Best trophies: ${player.bestTrophies}\n` + `<:Exp_level:1186623719897051176> Exp Level: **${player.expLevel}**\n`