diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 7ebdc8ed4..517df9e4c 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -581,7 +581,7 @@ class Guild { * @returns {Promise} * @example * // edit the guild owner - * guild.setOwner(guilds.members[0]) + * guild.setOwner(guild.members.first()) * .then(updated => console.log(`Updated the guild owner to ${updated.owner.username}`)) * .catch(console.error); */