Created
January 27, 2024 18:09
-
-
Save schrobby/4dce588fe9c2b442daf491013a1fe7bf to your computer and use it in GitHub Desktop.
Nightbot command to fetch score of <player> !score <player
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 = r.players.filter(p => p.name.toLowerCase().includes(`$(1)`.toLowerCase()))[0]; `${s.name} currently have ${s.score} points.`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment