Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedVolumeUpdater ¶
MockedVolumeUpdater is the mock implementation of VolumeUpdater.
func NewMockedVolumeUpdater ¶
func NewMockedVolumeUpdater() *MockedVolumeUpdater
NewMockedVolumeUpdater returns a new MockedVolumeUpdater.
func (*MockedVolumeUpdater) UpdateVolume ¶
func (u *MockedVolumeUpdater) UpdateVolume(guildID string, volume uint) error
UpdateVolume changes the volume of a guild's audio player.
type VolumeUpdater ¶
type VolumeUpdater interface { // UpdateVolume changes the volume of a guild's // audio player. UpdateVolume(guildID string, volume uint) error }
VolumeUpdater wraps the UpdateVolume method.
Click to show internal directories.
Click to hide internal directories.