diff --git a/src/structures/Guild.js b/src/structures/Guild.js index d3147971d..0b566f95b 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -1070,7 +1070,8 @@ class Guild extends AnonymousGuild { * @example * // Edit the guild owner * guild.setOwner(guild.members.cache.first()) - * .then(updated => console.log(`Updated the guild owner to ${updated.owner.displayName}`)) + * .then(guild => guild.fetchOwner()) + * .then(owner => console.log(`Updated the guild owner to ${owner.displayName}`)) * .catch(console.error); */ setOwner(owner, reason) {