nielot
nielot
DIAdiscord.js - Imagine an app
Created by nielot on 8/19/2024 in #djs-questions
Bot user interaction
k, i got it
7 replies
DIAdiscord.js - Imagine an app
Created by nielot on 8/19/2024 in #djs-questions
Bot user interaction
So, this is the place to add this properties? In command file? For example, what should i add to ping command?
module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with Pong!'),
async execute(interaction) {
await interaction.reply('Pong!');
},
};
module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with Pong!'),
async execute(interaction) {
await interaction.reply('Pong!');
},
};
7 replies