mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(Guild): use 'updated' variable in example for setRegion
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user