feat: mise à jour du code
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
const { SlashCommandBuilder } = require("discord.js");
|
||||
const { SlashCommandBuilder } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName("ping")
|
||||
.setDescription("Répond avec Pong !"),
|
||||
.setName('ping')
|
||||
.setDescription('Répond avec Pong !'),
|
||||
|
||||
async execute(interaction) {
|
||||
await interaction.reply("🏓 Pong !");
|
||||
}
|
||||
};
|
||||
await interaction.reply('🏓 Pong !');
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user