I have published a few commands for a close friend based on a discord bot I wrote. One of these commands is related to faceit users elo and most importantly recent elo gains / losses. If anyone should be interested in this command you are most welcome to use it. I recently added a check for the current games estimated win / loss.
Example response: Elo: 2857, Today: +17, Current est. Win: +19 Loss: -31
Another commonly asked format including daily wins and losses: $(eval const o = $(urlfetch json https://wombot.fi/nightbot/elo/USERNAME?format=full); o.message || `Level ${o.level} | ${o.elo} Elo | ${o.eloDiff > 0? "+" : ""}${o.eloDiff} today | ${o.recentMatches.filter(m=> m.teamId === m.i2).length} Wins | ${o.recentMatches.filter(m=> m.teamId !== m.i2).length} Losses ${(o.estWin && o.estLoss) ? `| Est Win: +${o.estWin}, Est Loss: -${o.estLoss}` : ""}`)
Which responds with the following: Level 2 | 840 Elo | +7 today | 1 Wins | 0 Losses | Est Win: +24, Est Loss: -26
Advanced usage (For different languages etc.): $(eval const o = $(urlfetch json https://wombot.fi/nightbot/elo/USERNAME?format=full); o.message || `Elo: ${o.elo}, Today: ${o.eloDiff > 0? "+" : ""}${o.eloDiff}`)
If you require additional customization the following parameters are exposed in the format=json object.
{
"elo": Current elo points,
"level": Current player level,
"recentElo": Recent elo (resets at 05:00 UTC),
"eloDiff": Recent elo difference (resets at 05:00 UTC),
"estWin": Estimated win if currently in match else null,
"estLoss": Estimated loss if currently in match else null
}
Should any questions arise you can contact me on Discord Sunquist#1337
We have recently moved to https://wombot.fi/ the old endpoint should still work though and returned as expected for me. I updated the post with the new endpoints. JSON object also exposes the current level now.
Hi, is there any chance i maybe could get help to make an index.html file where i can show the faceit stats as a browser source instead of showing it as a command?
Yeah that is what I’m looking for, but also with est. Win and lose just right under. Is that that something you have or could you maybe show me how it’s done?
The estimated Win Loose will appear once you are in a match Width: 1330 Height: 230 are the specs when it is fully expanded with the estimated win / loss. It will update once every 60 seconds.