In the event of users calling the /play command from the channel where the bot is playing, add the next track to a queue and play the queued tracks in order.
A word of warning. This will require global state management to escape the scope of the function and have the queue persist beyond the execution of the command.
In the event of users calling the /play command from the channel where the bot is playing, add the next track to a queue and play the queued tracks in order.
A word of warning. This will require global state management to escape the scope of the function and have the queue persist beyond the execution of the command.