Documentation
¶
Overview ¶
Package discordvoice bridges Discord voice into rocketclaw.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPlaybackInterrupted = errors.New("discord playback interrupted")
ErrPlaybackInterrupted reports that Discord playback was intentionally cut short.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
Connector bridges Discord voice input and output into the shared rocketclaw bus.
func New ¶
func New(ctx context.Context, cfg config.DiscordVoiceConfig, bus *events.Bus, tts *openaiaudio.TTSClient, restart func(context.Context, string) (string, error), logger *slog.Logger) (*Connector, error)
New constructs and starts a Discord voice connector.
func (*Connector) SendResponse ¶
SendResponse synthesizes and streams a response into the voice channel.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
aesgcm8
Package aesgcm8 provides Discord DAVE's 8-byte-tag AES-GCM primitive.
|
Package aesgcm8 provides Discord DAVE's 8-byte-tag AES-GCM primitive. |
|
aesgcm8/internal/gen
command
|
Click to show internal directories.
Click to hide internal directories.