From 7126cade4559233ebf96ee3ba78bb27da1923596 Mon Sep 17 00:00:00 2001 From: Lewdcario Date: Thu, 9 Aug 2018 13:52:50 -0500 Subject: [PATCH] fix: richEmbed#_apiTransform fields --- src/structures/RichEmbed.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/structures/RichEmbed.js b/src/structures/RichEmbed.js index 37804da2e..8f4c2f647 100644 --- a/src/structures/RichEmbed.js +++ b/src/structures/RichEmbed.js @@ -248,7 +248,9 @@ class RichEmbed { url: this.url, timestamp: this.timestamp ? new Date(this.timestamp) : null, color: this.color, - fields: this.fields ? this.fields.map(field => ({ name: field.name, value: field.value })) : null, + fields: this.fields ? + this.fields.map(field => ({ name: field.name, value: field.value, inline: field.inline })) : + null, thumbnail: this.thumbnail ? { url: this.thumbnail.url, } : null,