1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-03-23 18:39:35 +00:00

Gateway: Added missing intents in tests

This commit is contained in:
diamondburned 2020-10-30 12:00:41 -07:00
parent 2a2244c965
commit f3372e016a

View file

@ -59,6 +59,7 @@ func TestIntegration(t *testing.T) {
if err != nil {
t.Fatal("Failed to make a Gateway:", err)
}
g.AddIntents(IntentGuilds)
g.AfterClose = func(err error) {
log.Println("Closed.")
}