diff --git a/cmd/funbot/main.go b/cmd/funbot/main.go index f43333b..bfbb52e 100644 --- a/cmd/funbot/main.go +++ b/cmd/funbot/main.go @@ -45,6 +45,7 @@ func main() { client, err := disgo.New(config.Token, bot.WithGatewayConfigOpts( gateway.WithIntents(gateway.IntentsNone), + gateway.WithAutoReconnect(true), ), bot.WithCacheConfigOpts( cache.WithCaches( diff --git a/cmd/tempbot/main.go b/cmd/tempbot/main.go index e80a923..b5d7630 100644 --- a/cmd/tempbot/main.go +++ b/cmd/tempbot/main.go @@ -49,6 +49,7 @@ func main() { client, err := disgo.New(token, bot.WithGatewayConfigOpts( gateway.WithIntents(gateway.IntentsNone), + gateway.WithAutoReconnect(true), ), bot.WithCacheConfigOpts( cache.WithCaches( diff --git a/cmd/vcbot/main.go b/cmd/vcbot/main.go index 049a208..4b3f9f1 100644 --- a/cmd/vcbot/main.go +++ b/cmd/vcbot/main.go @@ -50,6 +50,7 @@ func main() { client, err := disgo.New(config.Token, bot.WithGatewayConfigOpts( gateway.WithIntents(gateway.IntentGuildVoiceStates), + gateway.WithAutoReconnect(true), ), bot.WithCacheConfigOpts( cache.WithCaches( diff --git a/cmd/welcomebot/main.go b/cmd/welcomebot/main.go index 48946f9..0f633eb 100644 --- a/cmd/welcomebot/main.go +++ b/cmd/welcomebot/main.go @@ -44,6 +44,7 @@ func main() { client, err := disgo.New(config.Token, bot.WithGatewayConfigOpts( gateway.WithIntents(gateway.IntentGuildMembers), + gateway.WithAutoReconnect(true), ), bot.WithCacheConfigOpts( cache.WithCaches(