Skip to content

Commit

Permalink
fix(MessageEmbed): set footer to undefined (#7358)
Browse files Browse the repository at this point in the history
  • Loading branch information
imranbarbhuiya committed Feb 13, 2022
1 parent 5bcca8b commit bc5ddc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/MessageEmbed.js
Expand Up @@ -430,7 +430,7 @@ class MessageEmbed {
*/
setFooter(options, deprecatedIconURL) {
if (options === null) {
this.footer = {};
this.footer = undefined;
return this;
}

Expand Down

0 comments on commit bc5ddc3

Please sign in to comment.