main.go aktualisiert
All checks were successful
release-tag / release-image (push) Successful in 2m2s
All checks were successful
release-tag / release-image (push) Successful in 2m2s
This commit is contained in:
4
main.go
4
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
|
||||
|
Reference in New Issue
Block a user