mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
docs(TextBasedChannel#send): update embeds example (#5857)
This commit is contained in:
@@ -146,11 +146,13 @@ class TextBasedChannel {
|
|||||||
* // Send an embed with a local image inside
|
* // Send an embed with a local image inside
|
||||||
* channel.send({
|
* channel.send({
|
||||||
* content: 'This is an embed',
|
* content: 'This is an embed',
|
||||||
* embed: {
|
* embeds: [
|
||||||
* thumbnail: {
|
* {
|
||||||
* url: 'attachment://file.jpg'
|
* thumbnail: {
|
||||||
|
* url: 'attachment://file.jpg'
|
||||||
|
* }
|
||||||
* }
|
* }
|
||||||
* },
|
* ],
|
||||||
* files: [{
|
* files: [{
|
||||||
* attachment: 'entire/path/to/file.jpg',
|
* attachment: 'entire/path/to/file.jpg',
|
||||||
* name: 'file.jpg'
|
* name: 'file.jpg'
|
||||||
|
|||||||
Reference in New Issue
Block a user