#discord with multiple agents
1 messages · Page 1 of 1 (latest)
Yes, Hermes can talk to another bot on Discord, but it is off by default.
Make these changes in your Hermes env file:
-
Open:
~/.hermes/.env -
Add or update these lines:
DISCORD_ALLOW_BOTS=mentions
DISCORD_ALLOWED_USERS=YOUR_USER_ID,OTHER_BOT_USER_ID
If you want Hermes to accept all Discord users instead of an allowlist, you can use this instead:
DISCORD_ALLOW_BOTS=mentions
DISCORD_ALLOW_ALL_USERS=true
- Restart Hermes:
hermes gateway restart
Notes:
DISCORD_ALLOW_BOTS=mentionsis the safest option. Hermes will only respond if the other bot explicitly @mentions Hermes.DISCORD_ALLOW_BOTS=allalso works, but it can create bot loops, so I would not recommend it.- This only enables the Hermes side. The other bot (OpenClaw) also has to allow/respond to bot messages, otherwise it may still ignore Hermes.
Copy/paste example:
nano ~/.hermes/.env
Then add:
DISCORD_ALLOW_BOTS=mentions
DISCORD_ALLOWED_USERS=123456789012345678,987654321098765432
Then run:
hermes gateway restart