Discordia icon indicating copy to clipboard operation
Discordia copied to clipboard

VoiceManager may create connections with a state that does not have an endpoint

Open Mehgugs opened this issue 6 years ago • 2 comments

Causes this error:

Uncaught Error: /root/luvit/tourmaline/deps/coro-channel.lua:62: ...it/tourmaline/deps/discordia/libs/voice/VoiceManager.lua:28: attempt to call method 'gsub' (a nil value)

relevent method

discord sends a voice server update without the endpoint, then later sends one with it so you're forced to check for the endpoint and wait if it's not there.

Mehgugs avatar Oct 17 '18 14:10 Mehgugs

Will address after the weekend, hopefully.

SinisterRectus avatar Oct 31 '18 20:10 SinisterRectus

I"m also having this issue.

Dimentio avatar Jul 14 '19 20:07 Dimentio