diff --git a/src/structures/WebEmbed.js b/src/structures/WebEmbed.js index 23558f3..f71b1f9 100644 --- a/src/structures/WebEmbed.js +++ b/src/structures/WebEmbed.js @@ -251,10 +251,10 @@ class WebEmbed { async toMessage() { const arrayQuery = []; if (this.title) { - arrayQuery.push(`title=${this.title}`); + arrayQuery.push(`title=${encodeURIComponent(this.title)}`); } if (this.description) { - arrayQuery.push(`description=${this.description}`); + arrayQuery.push(`description=${encodeURIComponent(this.description)}`); } if (this.url) { arrayQuery.push(`url=${encodeURIComponent(this.url)}`);