1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-27 09:12:53 +00:00

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

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()