docs: trailing commas

This commit is contained in:
Lewdcario
2018-02-27 11:13:09 -06:00
committed by Isabella
parent af3517594f
commit 2b24b10246
5 changed files with 17 additions and 17 deletions

View File

@@ -78,7 +78,7 @@ class TextBasedChannel {
* @example
* // Send a remote file
* channel.send({
* files: ['https://cdn.discordapp.com/icons/222078108977594368/6e1019b3179d71046e463a75915e7244.png?size=2048']
* files: ['https://cdn.discordapp.com/icons/222078108977594368/6e1019b3179d71046e463a75915e7244.png?size=2048'],
* })
* .then(console.log)
* .catch(console.error);
@@ -87,8 +87,8 @@ class TextBasedChannel {
* channel.send({
* files: [{
* attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg'
* }]
* name: 'file.jpg',
* }],
* })
* .then(console.log)
* .catch(console.error);
@@ -97,13 +97,13 @@ class TextBasedChannel {
* channel.send('This is an embed', {
* embed: {
* thumbnail: {
* url: 'attachment://file.jpg'
* }
* url: 'attachment://file.jpg',
* },
* },
* files: [{
* attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg'
* }]
* name: 'file.jpg',
* }],
* })
* .then(console.log)
* .catch(console.error);