Fix Stations class bug

This commit is contained in:
Christer Warén committed 2021-09-17 23:14:24 +03:00
1 parent 0f5022df15
commit dc7b14b11a
2 files changed
+13 -9

No files matched your search

+4 -2
View File
@@ -42,12 +42,14 @@ module.exports = {
client.stations = new Stations();
await client.stations.fetch({
url: client.config.stationslistUrl
url: client.config.stationslistUrl,
show: true
});
setInterval(async () => {
await client.stations.fetch({
url: client.config.stationslistUrl
url: client.config.stationslistUrl,
show: false
});
}, 3600000);