Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { fx.Out Commands []*discordfx.ApplicationCommandWithHandler `group:"command,flatten"` }
type VoiceHelper ¶
type VoiceHelper interface { GetSpeakers() GetGuildID() string }
VoiceHelper manages the state for a guild. VoiceHelper is responsible for decoding opus audio and splitting it into PCM sample data on a separate channel per speaker.
type VoiceHelperProvider ¶
type VoiceHelperProvider interface {
GetVoiceHelper(gid string) VoiceHelper
}
VoiceHelperProvider creates singleton VoiceHelper for each guild if it does not already exist.
Click to show internal directories.
Click to hide internal directories.