Add unicode emoji thumbs up to list of detected comment bodies
This commit is contained in:
parent
879a101985
commit
cc4361a486
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ func webhookHandler(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
log.Println("User type:", userType, "Comment body:", commentBody)
|
||||
|
||||
if !strings.Contains(userType, "bot") && strings.Contains(commentBody, "+1") {
|
||||
if !strings.Contains(userType, "bot") && (strings.Contains(commentBody, "+1") || strings.Contains(commentBody, "👍")) {
|
||||
log.Println("Received Issue Comment Event: processing now!")
|
||||
processIssueCommentEvent(event)
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue