4.json (818B)
1 { 2 "number": 4, 3 "title": "Fixed bots not looking for ! at the start of commands", 4 "state": "merged", 5 "diff_file": "4.diff", 6 "author": "donicrosby", 7 "created_at": "2021-10-22T21:54:44Z", 8 "closed_at": "2021-10-24T12:49:46Z", 9 "merged_at": "2021-10-24T12:49:46Z", 10 "base_ref": "main", 11 "head_ref": "fix-command-flow", 12 "labels": [ 13 "enhancement" 14 ], 15 "assignees": [ 16 "MTRNord" 17 ], 18 "requested_reviewers": [], 19 "body": "This PR adds support for bots misinterpreting the messages \"!cmd\" and \"cmd\" as equivalent. It would cause unwanted spam and processing cycles. I have added a regex that looks for the \"!\" at the start of the command and then strips it out or returns an empty string if it does not find a \"!\" at the start of the message.", 20 "comments": [], 21 "review_comments": [] 22 }