docs(TextBasedChannel#send): update embeds example (#5857)

This commit is contained in:
Tyler Resch
2021-06-15 06:59:53 -04:00
committed by GitHub
parent 918921e821
commit a6dae75d3a

View File

@@ -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'