Files
miku-discord/bot/utils
koko210Serve 76aaf6c437 Fix autonomous logic: prevent actions when user addresses Miku
- Moved on_message_event() call to END of message processing in bot.py
- Only track messages for autonomous when NOT addressed to Miku
- Fixed autonomous_engine.py to convert all message-triggered actions to join_conversation
- Prevent inappropriate autonomous actions (general, share_tweet, change_profile_picture) when triggered by user messages
- Ensures Miku responds to user messages FIRST before any autonomous action fires

This fixes the issue where autonomous actions would fire before Miku's response to user messages, and ensures the 'detect and join conversation' safeguard works properly.
2025-12-10 10:56:34 +02:00
..
2025-12-07 17:15:09 +02:00
2025-12-07 17:15:09 +02:00
2025-12-07 17:15:09 +02:00
2025-12-07 17:15:09 +02:00
2025-12-07 17:15:09 +02:00
2025-12-07 17:15:09 +02:00