[Cleanup] let cleanup show in channel how many messages it deleted for a short while #4732
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#4732
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature request
Select the type of feature you are requesting:
Describe your requested feature
EDIT: I'm suggesting this feature as a toggle.
Currently, messages deleted through cleanup commands gets deleted silently and how many messages it deleted gets logged to console/bot logs. However, in many instances it would be useful if bot displayed how many messages it actually deleted in said channel for a short while (5 seconds or less) before auto-vanishing, so as to inform the person who executed said cleanup command. Below GIF can demonstrate what I'm trying to say:
This could be helpful in many instances, where, people who are managing a discord server as trial mod or helpers with just manage messages perms and don't have access to neither audit logs nor bot's console logs , OR to mods and admins who don't have to keep checking audit logs after using cleanup commands to see how many messages bot actually deleted in said channel, etc etc. It saves time, even by little amount and also makes the cleanup process transparent for them by showing deleted messages count. I also personally believe it improves user experience too in context of using cleanup cog. Just my 26 cents.
+1 from me.
This has already been brought up here https://canary.discord.com/channels/133049272517001216/133049878837329920/775417296277602324, but was rejected outrightly.
Would like this to be implemented as a toggle-able feature
Hmm, having it show for few seconds IMO wouldn't be a bad idea, I'm guessing some would still like it to be togglable though.
+0.5 from me, I want more people to share their thoughts on this
Yeah also +0.5 from me. It's not a feature I'd be desperate for, but if there could be a toggle for this then I'm down for it.
Yeah I meant to suggest this as a toggle. Somehow I missed that part to include in OP.
+1 from me for this. A toggle settings for it wouldn't be bad to let it show for some seconds.
+1 having feedback on what just happened is always good. If it annoys someone, they can just turn it off.
+0.4...
I am doubtful on using a togglable settings for such a tiny thing, to me, it should be either, we show how many messages were deleted and then self-destruct the message, or simply stay shut, the Org should decide of what decision to do. But otherwise, I'm good with the suggestion.
A parameter could be used in the commands, probably to True by default, I don't see any problem in making it the default option.