stop

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockedStopper

type MockedStopper struct {
	mock.Mock
}

MockedStopper is the mocking implementation of Stopper.

func NewMockedStopper

func NewMockedStopper() *MockedStopper

NewMockedStopper returns a new MockedStopper.

func (*MockedStopper) Stop

func (s *MockedStopper) Stop(guildID string) error

Stop stops the current track of a guild's audio player.

type Stopper

type Stopper interface {
	// Stop stops the current track of a guild's audio
	// player.
	Stop(guildID string) error
}

Stopper wraps the Stop method.

Jump to

Keyboard shortcuts

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