Documentation ¶
Index ¶
Constants ¶
View Source
const ( SoundsChannel string = "sounds" CommandsChannel string = "bot-commands" )
Variables ¶
View Source
var Token string
Functions ¶
func PlayAudioFile ¶
func PlayAudioFile(d *discordgo.Session, guildID string, v *discordgo.VoiceConnection, sound *Sound)
PlayAudioFile modified sample from github.com/jonas747/dca
Types ¶
type Channels ¶
type Channels struct {
VoiceChannels []VoiceChannel `json:"voiceChannels"`
}
type GuildState ¶
Click to show internal directories.
Click to hide internal directories.