mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
docs(Client): fix syntax error in fetchInvite example
This commit is contained in:
parent
2cc0a31d5c
commit
d2da771e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ class Client extends BaseClient {
|
|||
* @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