Skip to content

Commit

Permalink
Fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
jybp committed Feb 6, 2024
1 parent 0616407 commit f9e3234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/slack/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ func (api API) SetEmojis(ctx context.Context, match string, channelIDs []string,
Limit: 100,
})
msgWithReplies = append(msgWithReplies, replies...)
log.Printf("%d replies found in channel %s\n", len(replies), channelID)
}

for _, msg := range msgWithReplies {
idx := strings.LastIndex(msg.Text, match)
if idx == -1 {
Expand Down

0 comments on commit f9e3234

Please sign in to comment.