application did not respond

Hey do somebody know why this is not working?

i have a:
client.on(Events.InteractionCreate, async (interaction) => {
    console.log("Interaction", interaction);
    if (!interaction.isCommand()) return;
    await interaction.deferReply();
  });


but if i try to execute the command i get:
the application did not respond without any console.log or something

My Intents:
    GatewayIntentBits.GuildMembers,
    GatewayIntentBits.GuildMessages,
    GatewayIntentBits.MessageContent,
    GatewayIntentBits.Guilds,
    GatewayIntentBits.GuildVoiceStates,
    GatewayIntentBits.GuildIntegrations,


Discord JS Version: 14.14.1
Node Version: v21.7.1
Was this page helpful?