Frs
Frs
DIAdiscord.js - Imagine a boo! 👻
Created by Frs on 7/11/2024 in #djs-questions
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",
});
}
}

});


};
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",
});
}
}

});


};
10 replies