fix #86
This commit is contained in:
parent
c6316814eb
commit
c19095e0e1
@ -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 = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user