From bebbddacb34375efa77592b20a0905433a3b71b7 Mon Sep 17 00:00:00 2001 From: walnuts1018 Date: Tue, 16 Apr 2024 22:57:03 +0900 Subject: [PATCH] fix --- slack/slack.go | 1 + 1 file changed, 1 insertion(+) diff --git a/slack/slack.go b/slack/slack.go index 934efc7..e71fbd7 100644 --- a/slack/slack.go +++ b/slack/slack.go @@ -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)