main.go aktualisiert
All checks were successful
release-tag / release-image (push) Successful in 2m2s

This commit is contained in:
2025-08-12 19:03:46 +00:00
parent ed34da72ea
commit cde86a7954

View File

@@ -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