# Miku Control Panel

💬 DM Support: Users can message Miku directly in DMs. She responds to every message using the DM mood (auto-rotating every 2 hours).

Mood:

### Server Management

#### Add New Server

Guild ID:
Server Name:
Autonomous Channel ID:
Channel Name:
Bedtime Channel IDs (comma-separated):
Enabled Features:
Autonomous
Bedtime
Monday Video

Use this if you're seeing incorrect server IDs or other configuration issues

### Autonomous Actions

Target Server:
User ID (leave empty for random):
Engagement Type:
Random (auto-detect) Activity-based (comment on what they're doing) General conversation Status-based (online/idle/invisible)

### 🔄 Bipolar Mode Controls

Trigger arguments or dialogues between Regular Miku and Evil Miku

#### 💬 Trigger Persona Dialogue

Start a natural conversation between the personas (can escalate to argument if tension builds)

Message ID:
💡 Tip: Right-click any bot response message in Discord and select "Copy Message ID". The opposite persona will analyze it and decide whether to interject.

#### ⚔️ Trigger Argument

Force an immediate argument (bypasses dialogue system)

Channel ID:
Starting Message ID (optional):
💡 Tip: Right-click a message in Discord and select "Copy Message ID" (enable Developer Mode in Discord settings). If a starting message ID is provided, the opposite persona will respond to that message.
Argument Context (optional):

#### 🏆 Argument Scoreboard

Loading scoreboard...

#### Active Arguments:

### 🎨 Profile Picture

Change Miku's profile picture using Danbooru search or upload a custom image.

Upload Custom Image:
💡 Supports static images (PNG, JPG) and animated GIFs
⚠️ Animated GIFs require Discord Nitro on the bot account

#### Current Profile Picture Info:

#### 🎨 Role Color Management

Manually set Miku's role color or reset to fallback (#86cecb)

Hex Color:

### Figurine DM Subscribers

#### Subscriber Management

User ID:

#### Send to All Subscribers

Tweet URL (optional):

#### Send to Single User

User ID:
Tweet URL (optional):

### Manual Actions

Target Server:

### 🎙️ Send Custom Prompt to Miku

Target Type:
Target Server:
User ID:
Custom Prompt:
Attach File (optional):

### 🎭 Send Message as Miku (Manual Override)

Send as Webhook (allows choosing persona)
Hatsune Miku 💙 (with mood emoji) Evil Miku 😈 (with mood emoji)

Note: Webhooks only work in channels, not DMs. Profile picture and mood emoji will be used.

Target Type:
Message:
Attach Files (optional):
Channel ID:
User ID:
Reply to Message ID (optional):
Mention user in reply: Yes (ping user) No (silent reply)

### 😊 Add Reaction to Message

Make Miku react to a specific message with an emoji of your choice.

Message ID:
Channel ID:
Emoji:

You can use standard emoji or custom server emoji format (:emoji_name: for custom ones)

### Status

### 📱 DM Logs

#### 📊 DM Interaction Analysis

Analysis runs automatically at 2 AM daily. Reports one user per day.

#### 🚫 Blocked Users

### Last Prompt

### 🎨 Image Generation System

Natural language image generation powered by ComfyUI. Users can ask Miku to create images naturally without commands!

#### System Status

#### Test Natural Language Detection

Test Message:

#### Manual Image Generation

Image Prompt:

#### Image Generation Settings

ComfyUI Configuration:

- URL: Auto-detected (tries multiple Docker networking options)
- Workflow Template: `Miku_BasicWorkflow.json`
- Host Output Directory: `/home/koko210Serve/ComfyUI/output/`
- Container Mount Point: `/app/ComfyUI/output/`
- Generation Timeout: 300 seconds

Note: Make sure ComfyUI is running and the workflow template exists in the bot directory.

### 📊 Autonomous V2 Decision Engine Stats

Real-time monitoring of Miku's autonomous decision-making context and mood-based personality stats.

Select Server:

### 💬 Chat with LLM

Direct chat interface with the language models. Test responses, experiment with prompts, or just chat with Miku!

#### ⚙️ Chat Configuration

🤖 Model Type:
💬 Text Model (Fast) 👁️ Vision Model (Images)
Text model for conversations, Vision model for image analysis
🎭 System Prompt:
✅ Use Miku Personality ❌ Raw LLM (No Prompt)
With prompt: Chat as Miku. Without: Direct LLM responses
😊 Miku's Mood:
Choose Miku's emotional state for this conversation
🖼️ Upload Image:
Upload an image for the vision model to analyze
Remove all messages from this session
💬 Start chatting with the LLM! Your conversation will appear here.
💡 Tip: Press Ctrl+Enter to send your message quickly

### Logs