Merge pull request 'Use user.displayName in setTitle instead of interaction.user.username' (#4) from beat-list-bug-fix into master

Reviewed-on: #4
This commit is contained in:
baz 2024-02-04 20:54:09 +01:00
commit 7933428552
1 changed files with 1 additions and 1 deletions

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();