diff --git a/bot.go b/bot.go index 0f49211..f1739c6 100644 --- a/bot.go +++ b/bot.go @@ -3,7 +3,6 @@ package main import ( "context" "log" - "net/http" "os" "os/signal" "sync" @@ -41,11 +40,6 @@ func init() { if err != nil { log.Fatal(err) } - - app.mux = http.NewServeMux() - - go http.ListenAndServe(":8826", app.mux) - log.Println("bot.go done.") } @@ -66,7 +60,6 @@ type App struct { playlist *Playlist plm *sync.RWMutex hubbub *gohubbub.Client - mux *http.ServeMux } func main() {