MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

[Feature Request] -clean command to clean up channel

Open SachaNevsky opened this issue 6 years ago • 9 comments

Whenever I use this bot, I end up having a whole channel spammed with -play requests, to clean up I have to go and manually delete each message.

Adding a -clean command to clean up the channel, similar to Rhythm Bot !clean command. This command would delete all messages related to the bot including -play, the "Now playing" and any other commands.

How this feature would be used:

  1. Someone requests a song via -play <URL>
  2. Someone runs the -clean command to delete all the messages made

SachaNevsky avatar Nov 04 '19 16:11 SachaNevsky

I think it could be better implemented with an "auto-clean" option that automatically deletes messages after some time. And isn't this while a music channel / bot channel exists normally?

aprilthepink avatar Feb 09 '21 17:02 aprilthepink

Sorry to resurrect this, but I'd rather add to this than create a duplicate issue. I and others that use my bot agree that automatically deleting (only) things posted by the bot (nowplaying requests & such) and requests would just plain make sense vs cleaning the whole channel, as an admin could set a welcome banner or pinned messages. the channel would then stay clean. Hydra's behavior is a good example of this, and Jmusicbot already does remove it's response to a -play request if the request message is deleted.

perhaps a 5 sec delay before removing requests/now playing, and the queue menu would delete after removing it's reactions. as for quality of life this is what dragged me to hydra vs others and if it's available with this implementation this bot would be perfect in my eyes. thanks for your time!

LcorpOfficial avatar Oct 14 '21 05:10 LcorpOfficial

an admin could set a welcome banner or pinned messages

This is already a Discord feature and is called a "channel topic"

MichailiK avatar Oct 14 '21 14:10 MichailiK

To add to the above, don't bot channels exist for the purpose of not having bot commands and responses interrupting things like an active conversation?

ALocked1 avatar Oct 14 '21 14:10 ALocked1

to respond to @MichailiK, the channel topic is currently playing track, and yes @ALocked1 bot channels do exist for that but wouldn't it be much cleaner and more polished of an experience if this was at least an option? just my opinion of course. Instead of an infinitely scrolling wall of requests it would be nice to come to the channel to see a simple banner to welcome users to see. you could argue to just disable message history (which I do currently) but with that discord unfortunately doesn't retain pinned messages with that enabled.

LcorpOfficial avatar Oct 18 '21 02:10 LcorpOfficial

the channel topic is currently playing track

it prepends to the topic, not overwrite. also can be disabled by denying manage channels

MichailiK avatar Oct 18 '21 02:10 MichailiK

it prepends to the topic, not overwrite. also can be disabled by denying manage channels

Nice to know it prepends, but is still not really doing anything to prevent clutter other than admins just hiding history of the channel.

LcorpOfficial avatar Oct 18 '21 02:10 LcorpOfficial

have you seen any other bot channel of any server ever lmao

MichailiK avatar Oct 18 '21 02:10 MichailiK

of course I have, but is it absurd to look for better than that for an already very polished and well working bot? the functionality is already there if you manually delete your request. I'm just throwing my suggestion in for feedback.

it IS one of the main reasons I chose Hydra over Rythm or Groovy, after all.

LcorpOfficial avatar Oct 18 '21 02:10 LcorpOfficial