From a6dae75d3ac088e9057969e5334e993b72ad464f Mon Sep 17 00:00:00 2001 From: Tyler Resch Date: Tue, 15 Jun 2021 06:59:53 -0400 Subject: [PATCH] docs(TextBasedChannel#send): update embeds example (#5857) --- src/structures/interfaces/TextBasedChannel.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/structures/interfaces/TextBasedChannel.js b/src/structures/interfaces/TextBasedChannel.js index b76517bed..8e16f6017 100644 --- a/src/structures/interfaces/TextBasedChannel.js +++ b/src/structures/interfaces/TextBasedChannel.js @@ -146,11 +146,13 @@ class TextBasedChannel { * // Send an embed with a local image inside * channel.send({ * content: 'This is an embed', - * embed: { - * thumbnail: { - * url: 'attachment://file.jpg' + * embeds: [ + * { + * thumbnail: { + * url: 'attachment://file.jpg' + * } * } - * }, + * ], * files: [{ * attachment: 'entire/path/to/file.jpg', * name: 'file.jpg'