🐛 fix: Caching for service announcement settings

This commit is contained in:
2024-03-05 10:29:08 +07:00
parent 3e78501a4f
commit 99513f1683
@@ -258,6 +258,8 @@ export const setServiceAnnouncementChannel = async (
data: { ServiceAnnouncement_Channel: channel.id }
});
await Cache.updateGuildCache(guild.id);
if (data.isMessage())
return await (placeholder as Message).edit({
embeds: [EMBEDS.SERVICE_ANNOUNCEMENT_CONFIGURED_CHANNEL(data, locale, TargetChannel)]