mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix Guild setOwner example (#1383)
* fix Guild setOwner docs * hello s and bye s
This commit is contained in:
@@ -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);
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user