docs(TextBasedChannel): fixed syntax error in examples (#7163)

This commit is contained in:
LePtitMetalleux
2022-01-07 23:38:58 +01:00
committed by GitHub
parent c978dbb623
commit b454740ae8

View File

@@ -128,7 +128,7 @@ class TextBasedChannel {
* channel.send({ * channel.send({
* files: [{ * files: [{
* attachment: 'entire/path/to/file.jpg', * attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg' * name: 'file.jpg',
* description: 'A description of the file' * description: 'A description of the file'
* }] * }]
* }) * })
@@ -147,7 +147,7 @@ class TextBasedChannel {
* ], * ],
* files: [{ * files: [{
* attachment: 'entire/path/to/file.jpg', * attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg' * name: 'file.jpg',
* description: 'A description of the file' * description: 'A description of the file'
* }] * }]
* }) * })