qStivi / qMusic

0 stars 0 forks source link

Add Playback Control Buttons #12

Open qStivi opened 3 weeks ago

qStivi commented 3 weeks ago

I would like to add buttons to the Discord music bot interface to control playback more easily. Specifically, I am requesting buttons for the following actions:

These controls will improve the user experience by providing a straightforward way to manage playback. At the very least, there should be buttons for Play and Pause.

Rationale:

Including these buttons will make the bot more user-friendly, allowing users to control music playback with a single click. This feature will be particularly useful during live sessions where quick and intuitive control is necessary.

qStivi commented 3 weeks ago

While implementing this feature, it would be beneficial to consider permissions to ensure that only authorized users can control playback. Additionally, more controls such as rewind and fast-forward could be valuable additions that enhance the overall functionality. There might be other useful controls that I haven't thought of yet, so feel free to suggest and discuss potential features.

qStivi commented 3 weeks ago

To implement these playback control buttons in a robust manner, I suggest creating dedicated instances that keep track of the playback state. These instances should be responsible for updating the corresponding Discord chat message with the current state. This approach will ensure that the buttons always reflect the current playback status and provide a seamless user experience. If possible, please ensure that these instances handle state changes efficiently and reliably.