eximiabots-radiox/events/ready.js

12 lines
336 B
JavaScript
Raw Normal View History

2020-03-02 19:38:42 +00:00
module.exports = {
name: 'ready',
async execute(client, Discord) {
2020-03-07 20:07:54 +00:00
const debugChannel = await client.channels.fetch(client.config.debug_channel);
client.debug_channel = debugChannel
2020-03-02 19:38:42 +00:00
if (client.config.devMode) {
console.log('dev mode');
}
console.log('- Activated -');
}
}