Merge branch 'feat/audio-call' of https://github.com/Huaaudio/picoclaw into feat/audio-call

This commit is contained in:
Huaaudio 2026-03-23 23:23:50 +01:00
commit 162b372efc
2 changed files with 0 additions and 2 deletions

View file

@ -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}) 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)
vc, err := s.ChannelVoiceJoin(c.ctx, m.GuildID, vs.ChannelID, false, false)
if err != nil { if err != nil {
if _, sendErr := s.ChannelMessageSend( if _, sendErr := s.ChannelMessageSend(
m.ChannelID, m.ChannelID,

View file

@ -65,7 +65,6 @@ func (a *speechAccumulator) Close() {
type Agent struct { type Agent struct {
bus *bus.MessageBus bus *bus.MessageBus
transcriber asr.Transcriber transcriber asr.Transcriber
transcriber asr.Transcriber
mu sync.Mutex mu sync.Mutex
sessions map[string]*speechAccumulator // keyed by sessionID_speakerID sessions map[string]*speechAccumulator // keyed by sessionID_speakerID