Open ScionSpy opened 1 month ago
this may be completely incorrect.. but it seems that your results
is global and you don't reset it at the end of the process. so when you call this script its adding maps twice to the results
which in turn is causing the battleResults
to loop twice thus doubling the stats.
so after this line here https://github.com/ScionSpy/G-C-A_V2/blob/af0a9e697e73987e22894581e27b1660bfaba113/Src/Discord/Events/GCA/clanBattles.js#L233
maybe you do results[2].list = []
?
Describe the bug
To Reproduce
Expected behavior
Screenshots