Fix recordings
Recording has been broken in pawa for a few reasons:
- When pawa has too much load, there's a lot of resource contention so threads end up backing up
- When a user types
!save
or!stop
, pawa simply saves what it has processed not what it should've listened
With this change, I'm hoping to address these issues, however some sacrifices had to be made:
-
!clip
doesn't do anything anymore, will fix if people want it, otherwise this will be the end of that command -
!save
will now also leave the voice channel instead and creating a new recording in place - The recording logic is truly async now, so I don't know how it's gonna work out with really long recordings