mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(MessageEmbed): set footer to undefined (#7358)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user