discordvoice

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 32 Imported by: 0

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

New constructs and starts a Discord voice connector.

func (*Connector) SendResponse

func (c *Connector) SendResponse(ctx context.Context, msg *events.OutboundMessage) error

SendResponse synthesizes and streams a response into the voice channel.

func (*Connector) Stop

func (c *Connector) Stop() error

Stop disconnects the connector from Discord.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL