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({
* files: [{
* attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg'
* name: 'file.jpg',
* description: 'A description of the file'
* }]
* })
@@ -147,7 +147,7 @@ class TextBasedChannel {
* ],
* files: [{
* attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg'
* name: 'file.jpg',
* description: 'A description of the file'
* }]
* })