Skip to content

Commit 31f5fed

Browse files
committed
fix(Client): jsdoc example for getPlayer
1 parent e666785 commit 31f5fed

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)