diff --git a/src/events/interactionCreate/handlers/chatInputCommand.ts b/src/events/interactionCreate/handlers/chatInputCommand.ts index e056cbbc2..a5842327b 100644 --- a/src/events/interactionCreate/handlers/chatInputCommand.ts +++ b/src/events/interactionCreate/handlers/chatInputCommand.ts @@ -8,7 +8,6 @@ import { InteractionReplyOptions, } from 'discord.js'; import { commands } from '..'; -import discord from '../../../../discord.json' assert { type: 'json' }; import buttonLink from '../../../core/discord/buttonLink'; import embedWarning from '../../../core/discord/embedWarning'; import normalizeInteractionReturnable from '../../../core/discord/normalizeInteractionReturnable'; @@ -24,19 +23,6 @@ export default async function handleChatInputCommand( await interaction.deferReply(); - if (registry.inPreview && interaction.guildId !== discord.tres_guild_id) { - interaction.editReply({ - embeds: [ - embedWarning( - `\`/${registry.command.name}\` is in Public Preview`, - '[Join the official Discord server](https://discord.gg/nDt7AjGJQH) to gain early access to this command before it is released to the public.', - ), - ], - }); - - return; - } - try { const returnable = await registry.handler(interaction); diff --git a/src/events/interactionCreate/index.ts b/src/events/interactionCreate/index.ts index 3b3e8293e..5e18ebfd6 100644 --- a/src/events/interactionCreate/index.ts +++ b/src/events/interactionCreate/index.ts @@ -54,7 +54,6 @@ export type InteractionReturnable = interface CommandRegistryBase { inProduction: boolean; inPublic: boolean; - inPreview?: boolean; command: | SlashCommandBuilder