commit | 16ecb17c933e8b726fae4f7a90c4ec59b15047c9 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sun Mar 05 07:30:32 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun Mar 05 07:30:32 2023 +0000 |
tree | ce0cff18fffc3d19a0071aa1496899eccadc2af7 | |
parent | cf771400584267726acc9e257daaff7e6793e88d [diff] [blame] |
Clear cache after updating guild settings
diff --git a/src/commands/settings/automod.ts b/src/commands/settings/automod.ts index 09b8914..ff9e0b2 100644 --- a/src/commands/settings/automod.ts +++ b/src/commands/settings/automod.ts
@@ -874,6 +874,7 @@ await i.deferUpdate(); if(i.isButton()) { await client.database.guilds.write(interaction.guild.id, {filters: config}); + await client.memory.forceUpdate(interaction.guild.id); } else { switch(i.values[0]) { case "invites": {