thaldrin/DiscordEvents/ready.js
2020-01-09 18:41:29 +01:00

23 lines
No EOL
419 B
JavaScript
Executable file

const {
log,
status
} = require('../utils');
const config = require('../config');
const blapi = require('blapi');
//blapi.setLogging(true);
module.exports = {
name: 'ready',
run: async (client) => {
if (client.user.id === '434662676547764244') {
blapi.handle(client, config.apis);
}
log.hasStarted();
status.randomStatus(client)
setInterval(() => {
status.randomStatus(client);
}, 60000);
}
};