Merge branch 'feat/audio-call' of https://github.com/Huaaudio/picoclaw into feat/audio-call
This commit is contained in:
commit
162b372efc
2 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue