Skip to content

Commit 91ad65b

Browse files
authored
Merge pull request #135 from muchnameless/master
fix(Client): jsdoc example for getPlayer
2 parents 56dc68c + 31f5fed commit 91ad65b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class Client {
5959
* })
6060
* @example
6161
* // Get player's guild along with player stats
62-
* hypixel.getPlayer('Minikloon').then(player => {
62+
* hypixel.getPlayer('Minikloon', { guild: true }).then(player => {
6363
* console.log(player.guild) // null if player isn't is guild
6464
* console.log(player.guild.name) // Mini Squid
6565
* console.log(player.guild.level) // 110

0 commit comments

Comments
 (0)