worked on encryption
diff --git a/src/commands/privacy.ts b/src/commands/privacy.ts
index 46784f5..69c8980 100644
--- a/src/commands/privacy.ts
+++ b/src/commands/privacy.ts
@@ -179,9 +179,10 @@
continue;
}
if (confirmation.success) {
- client.database.guilds.delete(interaction.guild!.id);
- client.database.history.delete(interaction.guild!.id);
- client.database.notes.delete(interaction.guild!.id);
+ await client.database.guilds.delete(interaction.guild!.id);
+ await client.database.history.delete(interaction.guild!.id);
+ await client.database.notes.delete(interaction.guild!.id);
+ await client.database.transcripts.deleteAll(interaction.guild!.id);
nextFooter = "All data cleared";
continue;
} else {