mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 17:21:31 +00:00
fix Guild setOwner example (#1383)
* fix Guild setOwner docs * hello s and bye s
This commit is contained in:
parent
bdf6f30990
commit
4aa82b4fdf
1 changed files with 1 additions and 1 deletions
|
|
@ -581,7 +581,7 @@ class Guild {
|
||||||
* @returns {Promise<Guild>}
|
* @returns {Promise<Guild>}
|
||||||
* @example
|
* @example
|
||||||
* // edit the guild owner
|
* // edit the guild owner
|
||||||
* guild.setOwner(guilds.members[0])
|
* guild.setOwner(guild.members.first())
|
||||||
* .then(updated => console.log(`Updated the guild owner to ${updated.owner.username}`))
|
* .then(updated => console.log(`Updated the guild owner to ${updated.owner.username}`))
|
||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue