Created
June 17, 2017 13:53
-
-
Save MrPowerGamerBR/ed0051e5d904dd006e2319fb8015dff2 to your computer and use it in GitHub Desktop.
Comando customizado para a https://loritta.website/
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
| var json = pegarConteúdoDeUmaURL("https://mcapi.ca/query/jogar.sparklypower.net/players"); // Pegar o texto em JSON | |
| var obj = JSON.parse(json); | |
| var online = obj.players.online; | |
| var max = obj.players.max; | |
| contexto.responder("**" + online + "**/**" + max + " ** players online no SparklyPower! 🎉"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment