-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: make !purge to clear user plays - e.g. they are blatant/other. #645
Comments
I wanted to implement that, could do that on sunday. If anyone else plans to, I'd suggest giving the ability to only wipe a certain timeframe and mode, but that might increase complexity since it requires a user stats recalc on that user though. |
Certain timeframe as years/months/weeks/days/hours/minutes/seaconds... whatever how long - it be helpful. Purge can also mean, |
I was thinking more of specifying two dates inbetween which the wipe is done, with all-time as the default. And also I would not make this command responsible for purging chats as well. I think this command should be called smth like !wipeuser, and for channels smth like !clear in the channel to be cleared |
Yeah. |
I like the idea overall -- eventually I'd like to introduce a rework of the scores schema to allow for soft-deletion, so you don't need to effectively delete evidence by hard wiping the data. (easy to adjust later though -- this can be implemented as a hard-delete for now) Scores & stats should get reset, and the player's session should get updated, and everyone else online notified. I'd probably suggest to keep replay data when this happens since the score ids are sequential/non-recurring? |
stats recalc will be required regardless if removing scores |
Not on a full wipe, you can just set all stats to 0 then. |
Maybe make an issue for that? And leave ur thoughts on implementation there, maybe I'll implement it sometime |
Yes |
Yeah I'm meditating on it since this - similar topic: #642 (comment) I'll create tracking soon.. |
How's the progress |
no one's probably interesting in working on it, but if you want to do it manually, delete the scores via Note that this does not update the global & country ranks, but they would be re-calculated when the !unrestrict command is performed. |
No description provided.
The text was updated successfully, but these errors were encountered: