Skip to content

Commit

Permalink
Merge pull request #44 from Fernando-Santana-j/development
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
Fernando-Santana-j authored Dec 25, 2024
2 parents 4a00e37 + 0a68d3b commit 9b35d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Discord/discordIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()]
Expand Down

0 comments on commit 9b35d0e

Please sign in to comment.