We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3d0606 + 5783cb2 commit ca14859Copy full SHA for ca14859
src/handlers/assign.rs
@@ -408,7 +408,7 @@ pub(super) async fn handle_command(
408
// Don't handle commands in comments from the bot. Some of the comments it
409
// posts contain commands to instruct the user, not things that the bot
410
// should respond to.
411
- if event.comment_from() == Some(ctx.username.as_str()) {
+ if event.user().login == ctx.username.as_str() {
412
return Ok(());
413
}
414
0 commit comments