mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 18:55:28 +00:00
the fuck
This commit is contained in:
parent
2edc1581f4
commit
bb79b9d4ab
|
@ -9,7 +9,6 @@ export default class GenericEmbed {
|
||||||
|
|
||||||
if (embed.url) this.url = embed.url;
|
if (embed.url) this.url = embed.url;
|
||||||
else if (embed.author?.url) this.url = embed.author.url;
|
else if (embed.author?.url) this.url = embed.author.url;
|
||||||
if (!this.icon?.match(/^http(s)?\:\/\//)) this.url = undefined;
|
|
||||||
|
|
||||||
if (this.title && embed.author?.iconURL) this.icon = embed.author.iconURL;
|
if (this.title && embed.author?.iconURL) this.icon = embed.author.iconURL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue