@satorijs/adapter-discord 3.9.1 → 3.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1648,10 +1648,14 @@ var _DiscordMessageEncoder = class _DiscordMessageEncoder extends import_satori3
1648
1648
  } else {
1649
1649
  this.buffer += ` (<${attrs.href}>) `;
1650
1650
  }
1651
+ } else if (type === "br") {
1652
+ this.buffer += "\n";
1651
1653
  } else if (type === "p") {
1652
1654
  if (!this.buffer.endsWith("\n"))
1653
1655
  this.buffer += "\n";
1654
1656
  await this.render(children);
1657
+ if (!this.buffer.endsWith("\n"))
1658
+ this.buffer += "\n";
1655
1659
  this.buffer += "\n";
1656
1660
  } else if (type === "blockquote") {
1657
1661
  if (!this.buffer.endsWith("\n"))