mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +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>}
|
||||
* @example
|
||||
* // 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}`))
|
||||
* .catch(console.error);
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue