Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
walnuts1018 committed Apr 16, 2024
1 parent 1e5faa0 commit bebbdda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slack/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ func (c *Client) HandleSlackEvents(ctx context.Context) error {

if !strings.HasPrefix(ev.Channel.Name, observTarget.year) {
slog.Info("Ignored channel created event", "channelName", ev.Channel.Name)
continue
}

_, warn, _, err := c.slackBotClient.JoinConversationContext(ctx, ev.Channel.ID)
Expand Down

0 comments on commit bebbdda

Please sign in to comment.