Clear cache after updating guild settings
diff --git a/src/commands/settings/welcome.ts b/src/commands/settings/welcome.ts
index 7584624..b2d484c 100644
--- a/src/commands/settings/welcome.ts
+++ b/src/commands/settings/welcome.ts
@@ -223,6 +223,7 @@
await client.database.guilds.write(interaction.guild!.id, {"welcome": data});
config = await client.database.guilds.read(interaction.guild!.id);
data = Object.assign({}, config.welcome);
+ await client.memory.forceUpdate(interaction.guild!.id)
break;
}
case "channelDM": {
@@ -297,4 +298,4 @@
return autocompletions;
};
-export { command, callback, check, autocomplete };
\ No newline at end of file
+export { command, callback, check, autocomplete };