mirror of
https://github.com/danbulant/discord.js
synced 2026-05-30 21:01:20 +00:00
docs(Guild): use 'updated' variable in example for setRegion
This commit is contained in:
parent
840d22f892
commit
28db527370
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue