diff --git a/src/util/builder/embedBuilder.js b/src/util/builder/embedBuilder.js index c920d19e..2f4823c0 100644 --- a/src/util/builder/embedBuilder.js +++ b/src/util/builder/embedBuilder.js @@ -304,7 +304,7 @@ class Embed { ? `**${this.fields[i].name}**:\n${this.fields[i].value}\n` : `${this.fields[i].value}\n`; - string += this.footer ? this.footer.text : ""; + string += this.footer ? `-# ${this.footer.text}` : ""; return string; } diff --git a/test/util/builder/embedBuilder.js b/test/util/builder/embedBuilder.js index 728e2274..63797625 100644 --- a/test/util/builder/embedBuilder.js +++ b/test/util/builder/embedBuilder.js @@ -298,7 +298,7 @@ describe("Embed", function () { embed.setAuthor("author"); embed.addField("field", "fieldValue"); expect(embed.toString()).to.equal( - "## title\n\ndescription\n\n**field**:\nfieldValue\nfooter", + "## title\n\ndescription\n\n**field**:\nfieldValue\n-# footer", ); }); });