vc

package
v0.0.0-...-e4f0057 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VC

type VC struct {
	// contains filtered or unexported fields
}

func NewVC

func NewVC(guild string) *VC

func (*VC) ChangeChannel

func (v *VC) ChangeChannel(s *discordgo.Session, id string) error

func (*VC) Disconnect

func (v *VC) Disconnect()

func (*VC) GetAudioChannel

func (v *VC) GetAudioChannel() chan []byte

func (*VC) GetChannelID

func (v *VC) GetChannelID() string

func (*VC) IsConnected

func (v *VC) IsConnected() bool

func (*VC) Join

func (v *VC) Join(s *discordgo.Session, channelID string) error

func (*VC) Reconnect

func (v *VC) Reconnect(s *discordgo.Session) error

func (*VC) SetSpeaking

func (v *VC) SetSpeaking(speaking bool) error

Jump to

Keyboard shortcuts

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