diff --git a/pkg/channels/discord/voice.go b/pkg/channels/discord/voice.go index 9d7597bd2..5b686b141 100644 --- a/pkg/channels/discord/voice.go +++ b/pkg/channels/discord/voice.go @@ -59,7 +59,6 @@ func (c *DiscordChannel) handleVoiceCommand(s *discordgo.Session, m *discordgo.M logger.InfoCF("discord", "Joining voice channel", map[string]any{"channel": vs.ChannelID}) vc, err := s.ChannelVoiceJoin(c.ctx, m.GuildID, vs.ChannelID, false, false) - vc, err := s.ChannelVoiceJoin(c.ctx, m.GuildID, vs.ChannelID, false, false) if err != nil { if _, sendErr := s.ChannelMessageSend( m.ChannelID, diff --git a/pkg/voice/agent.go b/pkg/voice/agent.go index 2bcd13515..cd0a62ecd 100644 --- a/pkg/voice/agent.go +++ b/pkg/voice/agent.go @@ -65,7 +65,6 @@ func (a *speechAccumulator) Close() { type Agent struct { bus *bus.MessageBus transcriber asr.Transcriber - transcriber asr.Transcriber mu sync.Mutex sessions map[string]*speechAccumulator // keyed by sessionID_speakerID