RikiBorders / Goose

A responsive multi-purpose Discord Bot
0 stars 0 forks source link

refresh command prevents queue from displaying #5

Closed RikiBorders closed 1 year ago

RikiBorders commented 1 year ago

Whenever the music queue has more than 10 songs (so when there is more than one page in the queue), the refresh command causes the bot to stall and the queue is not displayed. Various error codes are displayed, though I'm not sure which to pay attention to

RikiBorders commented 1 year ago

Actually, it looks like the issue comes from the _refreshqueue function. My hunch is that this is related to populating the leftmost pages with songs from pages to the right of the leftmost pages

RikiBorders commented 1 year ago

Just confirmed the refresh_queue command in the play_queue_song coroutine is responsible for the queue having issues with the above problem

RikiBorders commented 1 year ago

commented out the refresh in the play_queue_next function

RikiBorders commented 1 year ago

Skip command seems to work fine now after fixing this issue