Use user.displayName in setTitle instead of interaction.user.username #4

Merged
baz merged 1 commits from beat-list-bug-fix into master 2024-02-04 20:54:10 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 0b0751de4f - Show all commits

View File

@ -36,7 +36,7 @@ module.exports = {
const embed = new EmbedBuilder()
.setColor(0x6441a5)
.setAuthor({ name: `${user.displayName}`, iconURL: user.avatarURL() })
.setTitle(`${interaction.user.username}'s beaten games`)
.setTitle(`${user.displayName}'s beaten games`)
.setDescription(desc)
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
.setTimestamp();