aboutsummaryrefslogtreecommitdiffstats
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 1de3a22..bda8ace 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -13,7 +13,9 @@ const runWeeklyTasks = async (): Promise<void> => {
const dueTasks = tasks.filter(isThisWeek);
if (dueTasks.length > 0) {
- const taskText = dueTasks.map((t) => `• ${t.name} (${t.interval})`).join("\n");
+ const taskText = dueTasks
+ .map((t) => `• ${t.name} (${t.interval})`)
+ .join("\n");
await broadcastMessage(`📋 Tällä viikolla tehtävät hommat:\n${taskText}`);
const todayStr = today();
for (const t of dueTasks) {