From 0a68d3b7e303444a6691830231a4a9df426a8099 Mon Sep 17 00:00:00 2001 From: Fernando Date: Wed, 25 Dec 2024 12:18:36 -0300 Subject: [PATCH] fix --- Discord/discordIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Discord/discordIndex.js b/Discord/discordIndex.js index 7c46857..a9de970 100644 --- a/Discord/discordIndex.js +++ b/Discord/discordIndex.js @@ -108,7 +108,7 @@ client.on('guildMemberAdd', async member => { mensage = await mensage.replace('@@username', member.user.username) } if (mensage.includes('@@globalname')) { - mensage = await mensage.replace('@@globalname', `<@${member.user.globalName}>`) + mensage = await mensage.replace('@@globalname', `<@${member.user.id}>`) } let comp = { components: [new Discord.ActionRowBuilder()]