diff --git a/commands/verify.js b/commands/verify.js index c486f26..0abb345 100644 --- a/commands/verify.js +++ b/commands/verify.js @@ -97,7 +97,10 @@ module.exports = { }); return; } - if (stats.data.player.socialMedia.links.DISCORD !== username) { + + const linkedDiscord = stats.data.player.socialMedia.links.DISCORD + + if (linkedDiscord !== username) { interaction.editReply({ embeds: [ { @@ -189,4 +192,4 @@ module.exports = { ] }); } -}; +}; \ No newline at end of file