mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:40:18 +00:00
calculateGlobal everytime statistics change
This commit is contained in:
parent
0e9034a270
commit
2b52e8641c
@ -22,4 +22,5 @@ module.exports = function statisticsUpdate(client, guild, radio) {
|
||||
|
||||
radio.currentGuild.statistics[radio.station.name].used = parseInt(radio.currentGuild.statistics[radio.station.name].used)+1;
|
||||
client.datastore.updateEntry(guild, radio.currentGuild);
|
||||
client.datastore.calculateGlobal(client);
|
||||
}
|
Loading…
Reference in New Issue
Block a user