Bot: Start to add IntentGuilds for better caching

This commit is contained in:
diamondburned 2020-12-14 14:54:56 -08:00
parent b801e46760
commit 826b90a5f3
1 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,8 @@ func Start(
}
}
s.Gateway.AddIntents(c.DeriveIntents())
c.AddIntents(c.DeriveIntents())
c.AddIntents(gateway.IntentGuilds) // for channel event caching
cancel := c.Start()