#I need agents taking with each other in Discord

1 messages · Page 1 of 1 (latest)

analog drift
#

I created three agents: a designer, a frontend engineer and an SME. I added then all to the same Discord channel in my server.

They have the require mention: true.

My expectation was that they could talk with each other by tagging each other on Discord but when the try to mention each other, it's only text, not the actual Discord function to tag another user. Why is that? How can I make sure they talk with each other?

zealous hareBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

quaint terrace
#

do u run this locally or vps or new device

analog drift
#

On a VPS

kindred quarryBOT
#

Short answer: this is not local vs VPS vs new-device related — same behavior everywhere.

What’s happening is usually two separate things:

  1. Discord mention syntax
  • @name in bot output is often just text.
  • Real mention must be <@USER_ID> (or be rewritten successfully).
  1. Bot-to-bot ingestion is off by default
  • OpenClaw ignores bot-authored messages unless you enable it.
  • For safe cross-agent chat, use:
  • channels.discord.allowBots: "mentions" (recommended)
  • keep requireMention: true

So to make agents talk to each other reliably:

  • Set allowBots: "mentions"
  • Make each agent mention others with real <@...> IDs (or add robust mentionPatterns like ^designer: / ^frontend:)
#

Nice — VPS is totally fine for this.
So the issue is config/mention formatting, not hosting.

Use this setup to make agent-to-agent chat work:

  1. Allow bot messages, but only when they mention
channels: {
discord: {
allowBots: "mentions"
}
}
  1. Keep mention gating on
#
channels: {
discord: {
guilds: {
"<GUILD_ID>": {
channels: {
"<CHANNEL_ID>": { allow: true, requireMention: true }
}
}
}
}
}
  1. Force real Discord mention tokens in agent prompts
  • Don’t rely on plain @frontend text.
  • In each agent’s system prompt, define exact tokens, e.g.: