mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
🐛 fix: Caching for service announcement settings
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user