voice

package
v0.0.0-...-e569775 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadSound

func LoadSound(fileName string) ([][]byte, error)

LoadSound attempts to load an encoded sound file from disk.

func PlaySound

func PlaySound(s *discordgo.Session, guildID, channelID string, buffer [][]byte) (err error)

PlaySound plays the current buffer to the provided channel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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