I have a function of automatized channels,

All changes are triggered with voiceStateUpdate event.

All work very good but when a user disconnect from server, voiceStateUpdate is not called...

So how can i know if user leave with disconnection from server ?

UPDATE :

I finally got it in voiceStateUpdate, I just dont check if newMember or oldMember, I make my channels update directly by Client and not by the user.