From b454740ae87b6c3c13536181965519c7277e5840 Mon Sep 17 00:00:00 2001 From: LePtitMetalleux <59097429+LePtitMetalleux@users.noreply.github.com> Date: Fri, 7 Jan 2022 23:38:58 +0100 Subject: [PATCH] docs(TextBasedChannel): fixed syntax error in examples (#7163) --- .../discord.js/src/structures/interfaces/TextBasedChannel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/structures/interfaces/TextBasedChannel.js b/packages/discord.js/src/structures/interfaces/TextBasedChannel.js index df2d55396..a8b831497 100644 --- a/packages/discord.js/src/structures/interfaces/TextBasedChannel.js +++ b/packages/discord.js/src/structures/interfaces/TextBasedChannel.js @@ -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' * }] * })