mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
fix: Show user nickname in interaction reply if set instead of username
This commit is contained in:
1 parent
391627d510
commit
923e7a6845
8 files changed
+29
-17
No files matched your search
+1
-1
@@ -67,7 +67,7 @@ module.exports = {
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setAuthor({
|
||||
name: interaction.user.username,
|
||||
name: interaction.member.nickname || interaction.user.username,
|
||||
iconURL: interaction.user.avatarURL()
|
||||
})
|
||||
.setDescription(
|
||||
|
||||
Reference in new issue
Block a user