voice

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserVoiceChatMap = map[string]UserVoiceChat{}

Functions

func HandleVoiceChannelUpdate

func HandleVoiceChannelUpdate(_ *discordgo.Session, vc *discordgo.VoiceStateUpdate)

func PlayAudio

func PlayAudio(vc *discordgo.VoiceConnection, path string, stop <-chan bool) (err error)

Types

type UserVoiceChat

type UserVoiceChat struct {
	ChannelID string
	GuildID   string
}

Jump to

Keyboard shortcuts

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