Compare commits
2 Commits
f160c3855e
...
c6b4c061de
Author | SHA1 | Date |
---|---|---|
Stein Ivar Berghei | c6b4c061de | |
Stein Ivar Berghei | 3a0c09c7e0 |
2
Makefile
2
Makefile
|
@ -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)
|
||||||
|
|
|
@ -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.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue