SpoticordMusic / spoticord

The official Spoticord Music Discord bot
https://spoticord.com/
GNU Affero General Public License v3.0
54 stars 10 forks source link

[BUG] Bot hangs after a certain amount of time #12

Closed dysphoniq closed 1 year ago

dysphoniq commented 1 year ago

Describe the bug Cannot get Spoticord to join voice channel

To Reproduce Steps to reproduce the behavior:

  1. Set up Spoticord Music bot as instructions direct
  2. use /join to attempt to have Spoticord join current channel
  3. See that Bot does not respond with error "The application did not respond"

Expected behavior The bot should join channel and allow music to be played. Notably, it does check for channel permission before not responding.

Screenshots Removed channel permissions and the bot successfully checked & reported on that. After updating permissions, get the same error as before. image

Additional context Spoticord Version Current version: 2.0.0-beta

Was working roughly two weeks ago, not sure when it stopped. Not sure how to get a more robust error message, let me know if there's anything I can do to help diagnose the issue!

DaXcess commented 1 year ago

This is a known issue, there is a resource leak somewhere in the code which I haven't been able to identify yet, which eventually causes the bot to hang. This is still something that is being looked in to.

DaXcess commented 1 year ago

This looks to be resolved in the last commit, I'm closing this for now.