Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destroyer ¶
type Destroyer interface { // Destroy is used to destroy a guild's audio player. Destroy(guildID string) error }
Destroyer wraps the Destroy method.
type MockedDestroyer ¶
MockedDestroyer is the mock implementation for Destroyer.
func NewMockedDestroyer ¶
func NewMockedDestroyer() *MockedDestroyer
NewMockedDestroyer returns a new MockedDestroyer.
func (*MockedDestroyer) Destroy ¶
func (d *MockedDestroyer) Destroy(guildID string) error
Destroy is used to destroy a guild's audio player.
Click to show internal directories.
Click to hide internal directories.