eximiabots-radiox/events/ready.js
2020-03-02 21:38:42 +02:00

15 lines
441 B
JavaScript

module.exports = {
name: 'ready',
async execute(client, Discord) {
if (client.config.devMode) {
console.log('dev mode');
}
client.user.setActivity(`@${client.user.username} help | 🎶`, { type: 'LISTENING' });
client.user.setStatus('online');
console.log('- Activated -');
setInterval(() => {
client.funcs.ffmpeg(client, Discord);
}, 7200000);
}
}