player

package
v0.0.0-...-d2adc2b Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOriginalChannelID

func GetOriginalChannelID(guildID string) (string, error)

func Play

func Play(vc *discordgo.VoiceConnection, channelID string, url string) error

func PlayerExists

func PlayerExists(guildID string) bool

func Stop

func Stop(s *discordgo.Session, guildID string) error

Types

type Player

type Player struct {
	ID string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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