You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The privatevocal cog was a cool feature released in the v1.0. However due to the way it was made, it was very expensive in term of resources, the workload increased over time making the other bot's commands unusable (or with a really hight timeout) which was a big issue. So this cog was deleted on the next release.
I'd like to re-introduce this useful feature with the solution bellow.
Processor usage Before/After disabling the privatevocal cog (released with the v1.0).
(Bot hosted on the cheapest virtual machine on GoogleCloudPlatform.)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The privatevocal cog was a cool feature released in the v1.0. However due to the way it was made, it was very expensive in term of resources, the workload increased over time making the other bot's commands unusable (or with a really hight timeout) which was a big issue. So this cog was deleted on the next release.
I'd like to re-introduce this useful feature with the solution bellow.
Describe the solution you'd like
Replacing the
loop_if_connected
task with theon_voice_state_update
event listener (doc here), with this structure the cog should be way much lighter.https://github.com/PaulMarisOUMary/Algosup-Discord/blob/1f661b212cc6938f2cc687fa83847ad626fbcc5e/cogs/privatevocal.py#L21-L68
Additional context
Processor usage Before/After disabling the privatevocal cog (released with the v1.0).
![Screenshot 2021-09-27 at 09 44 32](https://user-images.githubusercontent.com/71769515/156929186-d4861480-4602-4caf-82cf-2da3cb9ee2c4.png)
(Bot hosted on the cheapest virtual machine on GoogleCloudPlatform.)
The text was updated successfully, but these errors were encountered: