From d68f4feb6cc0b99f787d4d9075d32f073b6e81ec Mon Sep 17 00:00:00 2001 From: Stein Ivar Berghei Date: Sat, 19 Nov 2022 15:02:15 +0100 Subject: [PATCH] Remove last remnance of old ws mux --- bot.go | 7 ------- 1 file changed, 7 deletions(-) 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() {