Skip to content

feat: add allow_bot_trigger config toggle for bot messages#218

Closed
the3mi wants to merge 4 commits intoopenabdev:mainfrom
the3mi:feat/toggle-monitored-bot-auto-respond
Closed

feat: add allow_bot_trigger config toggle for bot messages#218
the3mi wants to merge 4 commits intoopenabdev:mainfrom
the3mi:feat/toggle-monitored-bot-auto-respond

Conversation

@the3mi
Copy link
Copy Markdown
Contributor

@the3mi the3mi commented Apr 11, 2026

Summary

Add allow_bot_trigger config toggle. When true, bot messages can trigger responses without needing a mention.

Config

[discord]
allow_bot_trigger = true   # default: false
  • allow_bot_trigger = false (default): skip all bot messages (original behavior)
  • allow_bot_trigger = true: bots can trigger without mention

Files Changed

  • src/config.rs — add allow_bot_trigger field
  • src/discord.rs — add bot skip logic with toggle
  • src/main.rs — parse and pass config

OpenClaw Bot added 4 commits April 11, 2026 20:59
- Add auto_respond_from_bots config flag (default: false)
- When false: skip all bot messages (original behavior)
- When true: respond to monitored_bot_ids without mention
Add monitored_bot_ids config. Bots in this list can trigger
responses without needing a mention. Other bots are still skipped.
Remove bot-skip logic. Any bot message in an allowed channel
can now trigger a response without needing a mention.
When allow_bot_trigger = true, bot messages can trigger responses
without needing a mention. Default is false (original behavior).
@thepagent
Copy link
Copy Markdown
Collaborator

Closing — superseded by #321 (merged in v0.7.4) which added allow_bot_messages with three modes (off/mentions/all), covering the allow_bot_trigger use case. Thanks! 🙏

@thepagent thepagent closed this Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants