mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 06:33:18 +00:00
Update Statistics class
This commit is contained in:
parent
ee08232128
commit
cc3b2a50cf
@ -27,14 +27,14 @@ module.exports = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
calculateGlobal(client){
|
calculateGlobal(client){
|
||||||
if(!client.stations.list) return;
|
if(!client.stations) return;
|
||||||
if(!client.datastore.map) return;
|
if(!client.datastore.map) return;
|
||||||
|
|
||||||
let guilds = client.datastore.map.keys();
|
let guilds = client.datastore.map.keys();
|
||||||
let stations = client.stations.list;
|
let stations = client.stations;
|
||||||
let statistics = {};
|
let statistics = {};
|
||||||
|
|
||||||
if(!client.stations.list) return;
|
if(!client.stations) return;
|
||||||
|
|
||||||
let calculation = guilds.next();
|
let calculation = guilds.next();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user