Give an error if the speaker doesnt init correctly
parent
3a0c09c7e0
commit
c6b4c061de
|
@ -34,6 +34,9 @@ func init() {
|
|||
|
||||
// app.voice.LogLevel = discordgo.LogDebug
|
||||
|
||||
discordspeaker.Init(app.voice)
|
||||
err = discordspeaker.Init(app.voice)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
log.Println("discord.go done.")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue