From 5ed2a95856992733d59be9f48fc9ba300028e919 Mon Sep 17 00:00:00 2001 From: Darqam Date: Wed, 16 Jan 2019 19:17:19 +0100 Subject: [PATCH] docs(Client): add missing parenthesis in fetchInvite example (#3023) This is already fixed in master, resolves #3022 --- src/client/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.js b/src/client/Client.js index 504d4a1fd..f46a00f95 100644 --- a/src/client/Client.js +++ b/src/client/Client.js @@ -323,7 +323,7 @@ class Client extends EventEmitter { * @returns {Promise} * @example * client.fetchInvite('https://discord.gg/bRCvFy9') - * .then(invite => console.log(`Obtained invite with code: ${invite.code}`) + * .then(invite => console.log(`Obtained invite with code: ${invite.code}`)) * .catch(console.error); */ fetchInvite(invite) {