Last active
January 27, 2024 18:28
-
-
Save schrobby/1f547cdae070d1b45b58d0ef864f2d87 to your computer and use it in GitHub Desktop.
Nightbot command that returns the top 5 players from Sink Race #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(eval r=$(urlfetch json https://keepthescore.com/api/xckjgssgfkzlr/board/); s = ''; c = 0; for (p of r.players) {if (c >= 5) break; c++; s += `${p.name} (${p.score}) — `}; s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment