fix Guild setOwner example (#1383)

* fix Guild setOwner docs

* hello s and bye s
This commit is contained in:
Mr. Sakamoto
2017-04-15 23:13:20 +03:00
committed by Crawl
parent bdf6f30990
commit 4aa82b4fdf

View File

@@ -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);
*/