Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Band ¶
type Band struct { // Band is the index of the Band. Band uint `json:"band,omitempty"` // Gain is the multiplier of the Band. Gain float64 `json:"gain,omitempty"` }
Band represents an Equalizer Band.
type Equalizer ¶
type Equalizer interface { // UseEqualizer applies the passed bands on a guild's // audio player. UseEqualizer(guildID string, bands ...Band) error }
Equalizer wraps the UseEqualizer method.
type MockedEqualizer ¶
MockedEqualizer is the mock implementation of Equalizer.
func NewMockedEqualizer ¶
func NewMockedEqualizer() *MockedEqualizer
NewMockedEqualizer returns a new MockedEqualizer.
func (*MockedEqualizer) UseEqualizer ¶
func (e *MockedEqualizer) UseEqualizer(guildID string, bands ...Band) error
UseEqualizer applies the passed bands on a guild's audio player.
Click to show internal directories.
Click to hide internal directories.