Interaction

How am I able to fetch the display name of a user in the interaction guild? I tried interaction.member.guild.name but it is returning the guild name only.

.setAuthor({name: `${interaction.member.guild.username}`, iconURL: interaction.user.displayAvatarURL()})
Was this page helpful?