From 7fc2c683cd9f9da4a5cc56562a07efd319d10397 Mon Sep 17 00:00:00 2001 From: Luna Date: Tue, 3 Mar 2026 20:00:47 +0100 Subject: [PATCH] memory update --- src/bot.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bot.js b/src/bot.js index 86d8a4f..07f602c 100644 --- a/src/bot.js +++ b/src/bot.js @@ -261,12 +261,13 @@ async function onReady() { try { await generateDailyThought(); + const thought = await getDailyThought(); if (thought && client.user) { console.log(`[bot] setting presence with thought: "${thought}"`); - await client.user.setPresence({ - status: 'online', - activities: [{ name: thought, type: ActivityType.Playing }] + await client.user.setPresence({ + status: 'online', + activities: [{ name: thought, type: ActivityType.Playing }], }); console.log('[bot] presence set successfully'); } else {