mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 12:40:50 +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
|
* @example
|
||||||
* // Edit the guild region
|
* // Edit the guild region
|
||||||
* guild.setRegion('london')
|
* 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);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
setRegion(region, reason) {
|
setRegion(region, reason) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue