diff --git a/brainapi.mjs b/brainapi.mjs index bd1bba7..448eb06 100644 --- a/brainapi.mjs +++ b/brainapi.mjs @@ -171,10 +171,10 @@ export class ConsciousnessSimulator { AI MEMORY CONTEXT ARRAY: ${JSON.stringify(this.memoryLog)}` }] }); - emotion = emotion.message.content.toLowerCase() - this.currentEmotion = emotion + emote = emotion.message.content.toLowerCase() + this.currentEmotion = emote this.logAIContextMemory() - return emotion + return emote } catch { return "happy" }