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