fix(MessageEmbed): set footer to undefined (#7358)

This commit is contained in:
Parbez
2022-02-13 17:14:16 +05:30
committed by GitHub
parent 5bcca8b97f
commit bc5ddc36fa

View File

@@ -430,7 +430,7 @@ class MessageEmbed {
*/ */
setFooter(options, deprecatedIconURL) { setFooter(options, deprecatedIconURL) {
if (options === null) { if (options === null) {
this.footer = {}; this.footer = undefined;
return this; return this;
} }