Need help with a nightbot command

Asked Nov 15, 2021·5 replies·Last activity 4 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Can someone help me with the nightbot commands to show the current elo?

https://aoeiv.net/#nightbot

i have replace the steam_id with mine and the leaderboard_id with 17 but i doesnt work...it says player not found

image.png

5 replies

I presume it’s because those axample commands may be older and dont seem to have a game option in the link thought I’m not entirely certain. I can only recommend trying to contact the person/people who made it or if there a support discord or something but I don’t really know.

See how it has a game= in the link?

EC29CD13-5813-49CD-9FF2-60E76BC5A4C6.jpeg

i have fix it, but i have another problem, how do i formulate a frase with this response?

image.png

Depends what data you want exactly I presume the leaderboard info.

$(eval data=$(urlfetch json link);LD=data.leaderboard[0];`Wins: ${LD.wins} Losses: ${LD.losses}`)

check the post i made a few days ago "connecting nightbot to aoe4 leaderboards" at the bottom is the command you need

and ye the other commands for the match info and current map etc arent available yet

Didn't find your answer? The community is on Discord.

Ask on Discord