mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-03-22 09:59:37 +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 {
|
if err != nil {
|
||||||
t.Fatal("Failed to create a new voice session:", err)
|
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) {
|
v.ErrorLog = func(err error) {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
|
|
Loading…
Reference in a new issue