Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrekSauce authored Jun 5, 2024
1 parent 5657a7b commit 4a989bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ rest.put(

client.once('ready', () => {
console.log('Ready!');
console.log('CLIENT_ID:', process.env.CLIENT_ID);
console.log('GUILD_ID:', process.env.GUILD_ID);
console.log('CHANNEL_ID:', process.env.CHANNEL_ID);
console.log('BOT_TOKEN:', process.env.BOT_TOKEN);

// Schedule a daily thread creation at 5 AM
cron.schedule('0 5 * * *', () => {
Expand Down Expand Up @@ -75,4 +79,4 @@ function createThread() {
});
}

client.login(process.env.BOT_TOKEN);
client.login(process.env.BOT_TOKEN);

0 comments on commit 4a989bc

Please sign in to comment.