1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-10-05 17:18:48 +00:00

Voice: Fixed test error caused by Gateway API changes

This commit is contained in:
diamondburned 2020-10-29 13:27:32 -07:00
parent 108913b701
commit 9c1088bf7c

View file

@ -32,7 +32,7 @@ func TestIntegration(t *testing.T) {
if err != nil {
t.Fatal("Failed to create a new voice session:", err)
}
v.Gateway.AddIntent(gateway.IntentGuildVoiceStates)
v.Gateway.AddIntents(gateway.IntentGuildVoiceStates)
v.ErrorLog = func(err error) {
t.Error(err)