Compare commits

..

2 Commits

2 changed files with 5 additions and 2 deletions

View File

@ -27,7 +27,7 @@ src/yarn.lock: public src/node_modules src/package.json
public/script.js: src/script.js src/yarn.lock public/script.js: src/script.js src/yarn.lock
$(YARN) build $(YARN) build
$(APPLICATION_NAME): *.go ffmpeg/*.go speaker/*.go $(APPLICATION_NAME): *.go ffmpeg/*.go speaker/*.go go.mod go.sum
@go build @go build
build: image js $(APPLICATION_NAME) build: image js $(APPLICATION_NAME)

View File

@ -34,6 +34,9 @@ func init() {
// app.voice.LogLevel = discordgo.LogDebug // 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.") log.Println("discord.go done.")
} }