diff --git a/main.js b/main.js index 929b536..43dd893 100644 --- a/main.js +++ b/main.js @@ -22,9 +22,9 @@ const statusChannelId = process.env.STATUSCHANNELID client.once('ready', () => { fn.collectionBuilders.slashCommands(client); console.log('Ready!'); - // client.channels.fetch(statusChannelId).then(channel => { - // channel.send(`${new Date().toISOString()} -- Ready`).catch(e => console.error(e)); - // }); + client.channels.fetch(statusChannelId).then(channel => { + channel.send(`${new Date().toISOString()} -- Ready`).catch(e => console.error(e)); + }); }); // slash-commands @@ -43,6 +43,7 @@ client.on('interactionCreate', async interaction => { process.on('uncaughtException', err => { console.error(err); + // TODO: This should probably somehow attempt to send attempt to send a message }); client.login(token); \ No newline at end of file