Skip to content

Commit

Permalink
Merge pull request #135 from muchnameless/master
Browse files Browse the repository at this point in the history
fix(Client): jsdoc example for getPlayer
  • Loading branch information
StavZ authored Mar 31, 2021
2 parents 56dc68c + 31f5fed commit 91ad65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Client {
* })
* @example
* // Get player's guild along with player stats
* hypixel.getPlayer('Minikloon').then(player => {
* hypixel.getPlayer('Minikloon', { guild: true }).then(player => {
* console.log(player.guild) // null if player isn't is guild
* console.log(player.guild.name) // Mini Squid
* console.log(player.guild.level) // 110
Expand Down

0 comments on commit 91ad65b

Please sign in to comment.