feat(*): document and support embeds field in message create endpoint (#5792)

Co-authored-by: ckohen <chaikohen@gmail.com>
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>
This commit is contained in:
Adrian Castro
2021-06-12 00:45:17 +02:00
committed by GitHub
parent 6df36232a0
commit 99ff715137
4 changed files with 26 additions and 18 deletions

View File

@@ -70,7 +70,7 @@ class TextBasedChannel {
/**
* Options provided when sending or editing a message.
* @typedef {BaseMessageOptions} MessageOptions
* @property {MessageEmbed|Object} [embed] An embed for the message
* @property {MessageEmbed[]|Object[]} [embeds] The embeds for the message
* (see [here](https://discord.com/developers/docs/resources/channel#embed-object) for more details)
* @property {ReplyOptions} [reply] The options for replying to a message
*/