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 055fbbd commit f0d72c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function createThread() {
const dateString = today.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });

channel.threads.create({
name: `Results for ${dateString}`,
name: ${dateString},
autoArchiveDuration: 1440, // 1 day
reason: 'Daily thread for discussions'
}).then(thread => {
Expand Down

0 comments on commit f0d72c4

Please sign in to comment.