eblanchik
eblanchik
DIAdiscord.js - Imagine an app
Created by eblanchik on 7/28/2024 in #djs-questions
Don`t working slash command
const { SlashCommandBuilder} = require('discord.js');


module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with Pong!'),
async execute(interaction) {
await interaction.reply('Pong!');
},
};
const { SlashCommandBuilder} = require('discord.js');


module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with Pong!'),
async execute(interaction) {
await interaction.reply('Pong!');
},
};
This code don`t working. WHY???
2 replies