muse icon indicating copy to clipboard operation
muse copied to clipboard

Notify when song is over / when new song starts

Open mind-overflow opened this issue 3 years ago • 4 comments

Hey there,
I searched both issues and documentation but couldn't find anything - is there any way to make Muse announce when a new song is starting, like sending a text message in the channel it was started in, saying the song title? It's very useful especially with long playlists and when you never heard a song before. A sort of automated /now-playing.

Thanks!

mind-overflow avatar Nov 17 '22 02:11 mind-overflow

Muse don't currently support this, but happy to accept a PR for it.

I would personally prefer to update the bot status over sending a message, but I don't think that's really possible since Muse supports multiple guilds.

codetheweb avatar Nov 17 '22 02:11 codetheweb

One possible way to go about this would be to implement a persistent status message.

What I mean by that is you could have a message containing the currently playing song, and as this message can be edited by the bot. It could be updated as the song progresses to show the current progress of the song and also when the song changes.

This is better than always sending a new message because it won't clutter up the channel as much.

Additionally if the song changes and this status message is no longer at the bottom of the channel because someone else has sent a message, the old one can be deleted and a new message can be sent.

j7126 avatar Jan 22 '23 04:01 j7126

I too would like an option to send a new message in a channel (with the same kind of output you get from manually saying /now-playing) whenever a playlist advances to the next track. We have a dedicated music voice channel for Muse in our server, and it would be handy to have it automatically say what it's playing in the linked text chat channel.

arcanetrivia avatar Mar 09 '23 19:03 arcanetrivia

As noted above, I drafted a PR. Still a work-in-progress, but I figured I should get a first pass out there. I opted to post the /now-playing embed in the voice chat's text channel when the song changes. I'm a noob at TypeScript, so comments welcome.

logomancer avatar Mar 11 '23 06:03 logomancer