feat: add allow_bot_trigger config toggle for bot messages#218
Closed
the3mi wants to merge 4 commits intoopenabdev:mainfrom
Closed
feat: add allow_bot_trigger config toggle for bot messages#218the3mi wants to merge 4 commits intoopenabdev:mainfrom
the3mi wants to merge 4 commits intoopenabdev:mainfrom
Conversation
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).
Collaborator
|
Closing — superseded by #321 (merged in v0.7.4) which added |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
allow_bot_triggerconfig toggle. Whentrue, bot messages can trigger responses without needing a mention.Config
allow_bot_trigger = false(default): skip all bot messages (original behavior)allow_bot_trigger = true: bots can trigger without mentionFiles Changed
src/config.rs— addallow_bot_triggerfieldsrc/discord.rs— add bot skip logic with togglesrc/main.rs— parse and pass config