mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-02-08 20:47:13 +00:00
Voice: Fixed test error caused by Gateway API changes
This commit is contained in:
parent
108913b701
commit
9c1088bf7c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue