diff --git a/src/structures/Guild.js b/src/structures/Guild.js index ce1f83b5f..a6f01ee8c 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -1106,7 +1106,7 @@ class Guild extends Base { * @example * // Edit the guild name * guild.setName('Discord Guild') - * .then(updated => console.log(`Updated guild name to ${guild}`)) + * .then(updated => console.log(`Updated guild name to ${updated.name}`)) * .catch(console.error); */ setName(name, reason) {