jagrosh / jagrosh/MusicBot

[Feature Request] -clean command to clean up channel

Open
#309 9 comments 8 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

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](https://rythmbot.co/features). 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 `
2. Someone runs the `-clean` command to delete all the messages made

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the command handling for `-play` and the messages that produce the "Now playing" output. Review the linked Rhythm Bot `!clean` behavior for comparison, then determine how the bot can identify and delete its related messages. Done means `-clean` removes the listed bot messages from the channel without requiring manual deletion.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.