My bot enters and leaves immediately when i try to play a song

I have all my packages installed but its still joins and leaves voice channel immediately help pls.