Rollback demo script.
Rollback is designed to remove what KeepGrid created while leaving pre-existing server objects alone.
What rollback uses
During install, KeepGrid records the IDs of roles, channels, categories, and messages it created. Rollback uses that created-item tracker as the source of truth.
What rollback removes
Rollback deletes created channels and categories first, then created roles. Messages inside deleted channels are removed with the channel. Existing roles and channels that were skipped during install are not deleted.
Repeat-safe behavior
If an install is already rolled back, KeepGrid returns an already-rolled-back result instead of trying to delete the same objects twice.
Partial failures
Discord can deny deletion if permissions changed after install. KeepGrid records removed and failed counts separately, keeps the progress log, and shows what still needs manual cleanup.
After rollback
Check the public install log, confirm failed counts are zero, and run an Ops Health scan after reinstalling if you want to verify role/channel exposure.
Related
Email ops@keepgrid.net if anything is wrong or missing.