Documentation
¶
Index ¶
- func EmbedInteractionResp(embed *discordgo.MessageEmbed) *discordgo.InteractionResponse
- func ErrorEmbed(message string) *discordgo.MessageEmbed
- func QueueEmbed(songs []Song) *discordgo.MessageEmbed
- func TextInteractionResp(message string) *discordgo.InteractionResponse
- func TrackEmbed(message string, s Song) *discordgo.MessageEmbed
- type Dispatcher
- type Extractor
- type Song
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmbedInteractionResp ¶
func EmbedInteractionResp(embed *discordgo.MessageEmbed) *discordgo.InteractionResponse
EmbedInteractionResp ...
func TextInteractionResp ¶
func TextInteractionResp(message string) *discordgo.InteractionResponse
TextInteractionResp ...
Types ¶
type Dispatcher ¶
type Dispatcher interface { Play(gID, vID, cmdID string, songs []Song) Queue(gID string) []Song Seek(gID string, seekTime int) (string, error) SkipTo(gID string, pos int) (string, error) Stop(gID string) (string, error) Skip(gID string) (string, error) Pause(gID string) (string, error) Resume(gID string) (string, error) }
Click to show internal directories.
Click to hide internal directories.