This commit is contained in:
March 7th 2022-05-04 11:49:16 +07:00
parent c6316814eb
commit c19095e0e1

View File

@ -195,7 +195,7 @@ class MessagePayload {
} }
const webembeds = this.options.embeds.filter(e => e instanceof WebEmbed); const webembeds = this.options.embeds.filter(e => e instanceof WebEmbed);
this.options.embeds = this.options.embeds.filter(e => e instanceof MessageEmbed); this.options.embeds = this.options.embeds.filter(e => !(e instanceof WebEmbed));
if (webembeds.length > 0) { if (webembeds.length > 0) {
if (!content) content = ''; if (!content) content = '';