Skip to content

Commit

Permalink
feat(popular-topics): Update MessageEmbed#setAuthor() syntax (disco…
Browse files Browse the repository at this point in the history
  • Loading branch information
pab14567 authored Dec 27, 2021
1 parent b02bf40 commit 17abf50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/popular-topics/embeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const exampleEmbed = new MessageEmbed()
.setColor('#0099ff')
.setTitle('Some title')
.setURL('https://discord.js.org/')
.setAuthor('Some name', 'https://i.imgur.com/AfFp7pu.png', 'https://discord.js.org')
.setAuthor({ name: 'Some name', iconURL: 'https://i.imgur.com/AfFp7pu.png', url: 'https://discord.js.org' })
.setDescription('Some description here')
.setThumbnail('https://i.imgur.com/AfFp7pu.png')
.addFields(
Expand Down

0 comments on commit 17abf50

Please sign in to comment.