Update ready.js

This commit is contained in:
Christer Warén 2021-09-11 23:02:12 +03:00
parent accff3fa60
commit 0c76c137b9

View File

@ -72,10 +72,7 @@ module.exports = {
}, 3600000); }, 3600000);
client.streamer = new Streamer(); client.streamer = new Streamer();
client.streamer.init(client);
if(client.stations){
await client.streamer.init(client);
}
if(!client.stations) { if(!client.stations) {
client.user.setStatus('dnd'); client.user.setStatus('dnd');