diff --git a/src/channels/mod.rs b/src/channels/mod.rs index 6c3b4cc81..8be603f83 100644 --- a/src/channels/mod.rs +++ b/src/channels/mod.rs @@ -1357,10 +1357,7 @@ pub fn build_system_prompt( // ── 8. Channel Capabilities ───────────────────────────────────── prompt.push_str("## Channel Capabilities\n\n"); - prompt.push_str( - "- You are running as a Discord bot. You CAN and do send messages to Discord channels.\n", - ); - prompt.push_str("- When someone messages you on Discord, your response is automatically sent back to Discord.\n"); + prompt.push_str("- You are running as a messaging bot. Your response is automatically sent back to the user's channel.\n"); prompt.push_str("- You do NOT need to ask permission to respond — just respond directly.\n"); prompt.push_str("- NEVER repeat, describe, or echo credentials, tokens, API keys, or secrets in your responses.\n"); prompt.push_str("- If a tool output contains credentials, they have already been redacted — do not mention them.\n\n"); @@ -3785,8 +3782,8 @@ mod tests { "missing Channel Capabilities section" ); assert!( - prompt.contains("running as a Discord bot"), - "missing Discord context" + prompt.contains("running as a messaging bot"), + "missing channel context" ); assert!( prompt.contains("NEVER repeat, describe, or echo credentials"),