i keep on getting the interaction failed error but i did the reply method already tried to debug it

const { Client, MessageEmbed, MessageActionRow, MessageButton,SlashCommandBuilder,Interaction } = require('discord.js');
const settings = require("./settings");

/**
 * 
 * @param {Client} client 
 */

module.exports = async(client) =>{
    client.on("interactionCreate",async (interaction) =>{
        if(interaction.isCommand()  ) {
            if(interaction.commandName =="ping") {
                return interaction.reply({
                    content : "test f zebi",
                });
            }
        }

    });


};
Was this page helpful?