mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Bad Hydra.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -194,7 +194,7 @@ class Client extends EventEmitter {
|
||||
/**
|
||||
* Fetches an invite object from an invite code.
|
||||
* @param {string} code the invite code.
|
||||
* @returns {Promise<Invite, Error>}
|
||||
* @returns {Promise<Invite>}
|
||||
*/
|
||||
fetchInvite(code) {
|
||||
return this.rest.methods.getInvite(code);
|
||||
|
||||
Reference in New Issue
Block a user