mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
🐛 fix: Purge settings is now behide early access
This commit is contained in:
@@ -58,6 +58,13 @@ export default async (data: HybridInteractionMessage, args: any, guild: Guild, l
|
|||||||
|
|
||||||
const GuildCache = await Cache.getCachedGuild(guild.id);
|
const GuildCache = await Cache.getCachedGuild(guild.id);
|
||||||
if (!GuildCache) return;
|
if (!GuildCache) return;
|
||||||
|
|
||||||
|
// TODO: Remove this feature when ready from early access
|
||||||
|
if (!GuildCache.EarlyAccess_Enabled)
|
||||||
|
return await sendHybridInteractionMessageResponse(data, {
|
||||||
|
embeds: [COMMON_EMBEDS.EARLY_ACCESS_WARNING(data, locale)]
|
||||||
|
});
|
||||||
|
|
||||||
const limit = GuildCache.Purge_Limit;
|
const limit = GuildCache.Purge_Limit;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user