Skip to content

Commit

Permalink
fix(slack): do not require join permission
Browse files Browse the repository at this point in the history
  • Loading branch information
motoki317 committed Jun 29, 2024
1 parent 0ee5a68 commit 4d841d4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/bot/slack/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ func NewBot(rootCmd domain.Command, logger *zap.Logger) (domain.Bot, error) {
}

func (s *slackBot) Start(ctx context.Context) error {
// Join channel
_, _, _, err := s.api.JoinConversation(config.C.Slack.ChannelID)
if err != nil {
return err
}

go func() {
for e := range s.sock.Events {
err := s.handle(e)
Expand Down

0 comments on commit 4d841d4

Please sign in to comment.