From 98ca12f01f1211a82a4847e76731e53c71cf9d9a Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 20 Aug 2023 11:37:47 +0200 Subject: [PATCH 1/2] Bux fix Signed-off-by: Taken --- commands/verify.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/commands/verify.js b/commands/verify.js index c486f26..3d59e45 100644 --- a/commands/verify.js +++ b/commands/verify.js @@ -97,6 +97,9 @@ module.exports = { }); return; } + + const linkedDiscord = stats.data.player.socialMedia.links.DISCORD + if (stats.data.player.socialMedia.links.DISCORD !== username) { interaction.editReply({ embeds: [ @@ -189,4 +192,4 @@ module.exports = { ] }); } -}; +}; \ No newline at end of file From 6234c2e095a351ff34b0cbb6c50352201508c542 Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 20 Aug 2023 11:39:23 +0200 Subject: [PATCH 2/2] Bux fix Signed-off-by: Taken --- commands/verify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/verify.js b/commands/verify.js index 3d59e45..0abb345 100644 --- a/commands/verify.js +++ b/commands/verify.js @@ -100,7 +100,7 @@ module.exports = { const linkedDiscord = stats.data.player.socialMedia.links.DISCORD - if (stats.data.player.socialMedia.links.DISCORD !== username) { + if (linkedDiscord !== username) { interaction.editReply({ embeds: [ {