This commit is contained in:
2021-05-06 18:47:46 +02:00
parent 19fb919249
commit b84e4a20eb

View File

@@ -125,7 +125,7 @@ client.on('message', (message) => {
}
});
client.login(process.env.BOT_TOKEN);
client.login(process.env.BOT_TOKEN).then(() => getStatus());
// Funne API hehehehe
const http = require('http');
@@ -162,7 +162,6 @@ const getStatus = () => {
};
};
getStatus();
setInterval(getStatus, 30000);
http