mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
docs(Client): add missing parenthesis in fetchInvite example (#3023)
This is already fixed in master, resolves #3022
This commit is contained in:
@@ -323,7 +323,7 @@ class Client extends EventEmitter {
|
|||||||
* @returns {Promise<Invite>}
|
* @returns {Promise<Invite>}
|
||||||
* @example
|
* @example
|
||||||
* client.fetchInvite('https://discord.gg/bRCvFy9')
|
* 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);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
fetchInvite(invite) {
|
fetchInvite(invite) {
|
||||||
|
|||||||
Reference in New Issue
Block a user