diff --git a/src/structures/Guild.js b/src/structures/Guild.js index d3b3320c7..2728e4b04 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -484,7 +484,7 @@ class Guild { * // Fetch invite creator by their id * guild.fetchInvites() * .then(invites => console.log(invites.find(invite => invite.inviter.id === '84484653687267328'))) - * .then(console.error); + * .catch(console.error); */ fetchInvites() { return this.client.rest.methods.getGuildInvites(this);