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:
parent
b801e46760
commit
826b90a5f3
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue