eximiabots-radiox/events/ready.js

15 lines
441 B
JavaScript
Raw Normal View History

2020-03-02 19:38:42 +00:00
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);
}
}