rust-lang / triagebot

Automation/tooling for Rust spaces
https://triage.rust-lang.org
Apache License 2.0
170 stars 74 forks source link

Fix auto-assign not ignoring bot comments. #1661

Closed ehuss closed 1 year ago

ehuss commented 1 year ago

This fixes a bug where triagebot was listening to r? commands from triagebot itself. This is a problem because the bot may post a comment illustrating how to use r?, and it shouldn't trigger itself to use that command.

This was just a stupid oversight on my part of using the wrong function for checking this condition.