thaldrin/DiscordEvents/ready.js

21 lines
417 B
JavaScript
Raw Normal View History

2019-11-11 22:43:00 +00:00
const config = require('../config');
const blapi = require('blapi');
//blapi.setLogging(true);
2019-10-14 11:19:41 +00:00
module.exports = {
2019-11-10 08:42:09 +00:00
name: 'ready',
run: async (client) => {
2019-11-13 21:12:14 +00:00
if (client.user.id === '434662676547764244') {
blapi.handle(client, config.apis);
}
2020-02-16 21:20:32 +00:00
//log.hasStarted();
console.log('The Bot is online')
2020-02-16 21:23:31 +00:00
/* status.randomStatus(client)
2019-11-11 22:43:00 +00:00
setInterval(() => {
2020-01-09 17:41:29 +00:00
status.randomStatus(client);
2019-11-11 22:43:00 +00:00
}, 60000);
2020-02-16 21:23:31 +00:00
*/
2019-11-10 08:42:09 +00:00
}
};