Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

[Feature Request] Purge Viewer Database Options

Open CrowbarToolsRobot opened this issue 2 years ago • 1 comments

Perry via Discord:

Add the ability to filter by Followers, VIP or Subscribers.

CrowbarToolsRobot avatar Mar 04 '22 21:03 CrowbarToolsRobot

I could definitely see additional filters for things like "purge all users last seen before 2020" or something like that. I'm not sure how we'd do it by role though. We'd need to go through every user in the DB and make a call to see if they were still followers, vip, or subs.

MVP Release:

  • Purge button on viewer database page that opens a modal popup.

  • Purge modal will give an option to select between multiple ways to purge, along with options for each specific one.

  • User can fill in the options and press a button to open a confirmation window.

  • Before purge is started, we want to automatically run a backup.

  • Before a purge is is started, we want to try to show the number of records to be affected.

  • If the user clicks go on the confirmation window, then start the purge.

  • "Last Seen Before" purge type. User selects a date, and all users before that time are purged.

  • "View Time" purge type. User puts in a number of hours, and all users under that amount are purged.

MVP +1 Ideas

  • "Chat Messages" purge type.
  • "Currency" purge type.

In V6 we'll also need a platform selector.

Firebottle avatar May 12 '22 23:05 Firebottle