mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
docs(Client): add missing parenthesis in fetchInvite example (#3023)
This is already fixed in master, resolves #3022
This commit is contained in:
parent
46fd7b093c
commit
5ed2a95856
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ class Client extends EventEmitter {
|
|||
* @returns {Promise<Invite>}
|
||||
* @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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue