Skip to content

Commit

Permalink
chore(embeds): update setFooter usage (discordjs#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite authored Jan 7, 2022
1 parent 913e889 commit 31425b7
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 @@ -77,7 +77,7 @@ const exampleEmbed = new MessageEmbed()
.addField('Inline field title', 'Some value here', true)
.setImage('https://i.imgur.com/AfFp7pu.png')
.setTimestamp()
.setFooter('Some footer text here', 'https://i.imgur.com/AfFp7pu.png');
.setFooter({ text: 'Some footer text here', iconURL: 'https://i.imgur.com/AfFp7pu.png' });

channel.send({ embeds: [exampleEmbed] });
```
Expand Down

0 comments on commit 31425b7

Please sign in to comment.