fixed double mutations
diff --git a/src/commands/settings/automod.ts b/src/commands/settings/automod.ts
index 522d928..5b4198f 100644
--- a/src/commands/settings/automod.ts
+++ b/src/commands/settings/automod.ts
@@ -1087,7 +1087,7 @@
if (i.isButton()) {
await client.database.guilds.write(interaction.guild.id, { filters: current });
await client.memory.forceUpdate(interaction.guild.id);
- config = _.cloneDeep(current);
+ config = current;
current = _.cloneDeep(config);
} else {
switch (i.values[0]) {