diff --git a/main.go b/main.go index a484a8f..425bcc8 100644 --- a/main.go +++ b/main.go @@ -1281,8 +1281,6 @@ func main() { s.Identify.Intents = discordgo.IntentsGuilds | discordgo.IntentsGuildVoiceStates - _ = s.UpdateGameStatus(0, "creating private VCs") - s.AddHandler(onVoiceStateUpdate) s.AddHandler(onGuildCreate) s.AddHandler(onInteractionCreate("")) @@ -1300,6 +1298,8 @@ func main() { } log.Println("Bot online. Ctrl+C zum Beenden.") + _ = s.UpdateGameStatus(0, "creating private VCs") + stop := make(chan os.Signal, 1) signal.Notify(stop, os.Interrupt, syscall.SIGTERM) <-stop