From 28db5273708af039ef6a5387273d4407d55f178c Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Thu, 10 Jan 2019 16:54:02 +0100 Subject: [PATCH] docs(Guild): use 'updated' variable in example for setRegion --- src/structures/Guild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index aef0b3113..66cf98718 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -725,7 +725,7 @@ class Guild extends Base { * @example * // Edit the guild region * guild.setRegion('london') - * .then(updated => console.log(`Updated guild region to ${guild.region}`)) + * .then(updated => console.log(`Updated guild region to ${updated.region}`)) * .catch(console.error); */ setRegion(region, reason) {