update sth
This commit is contained in:
@@ -195,7 +195,7 @@ class MessagePayload {
|
||||
}
|
||||
|
||||
const webembeds = this.options.embeds.filter(
|
||||
(e) => !(e instanceof MessageEmbed),
|
||||
(e) => e instanceof WebEmbed,
|
||||
);
|
||||
this.options.embeds = this.options.embeds.filter(e => e instanceof MessageEmbed);
|
||||
|
||||
|
@@ -21,6 +21,10 @@ class WebEmbed {
|
||||
*/
|
||||
this.hidden = data.hidden ?? false;
|
||||
}
|
||||
/**
|
||||
* @private
|
||||
* @param {object} data
|
||||
*/
|
||||
_setup(data) {
|
||||
/**
|
||||
* Type image of this embed
|
||||
|
Reference in New Issue
Block a user