add: Added .cleanupguilddata command which will delete all guildconfigs, xp stats and other data related to any guild the bot is no longer in. This is a highly destructive and irreversible command.

dev: Added cascade deletes to any tables which have guildconfigs FK, as well as to some other missing places
This commit is contained in:
Kwoth
2024-05-18 16:09:54 +00:00
parent 03fb1a5ca2
commit 0c167a9382
28 changed files with 13286 additions and 273 deletions

View File

@@ -4440,3 +4440,11 @@ todoarchivedelete:
params:
- todoId:
desc: "The identifier for the archived todo item to be deleted."
cleanupguilddata:
desc: |-
Deletes data for all servers bot is no longer a member of from the database.
This is a highly destructive and irreversible command.
ex:
- ''
params:
- {}