useless files

This commit is contained in:
Mylloon 2022-07-03 17:38:07 +02:00
parent 9d0fbfff76
commit 565da6aa5e
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 0 additions and 34 deletions

View file

@ -1,10 +0,0 @@
const { SlashCommandBuilder } = require('@discordjs/builders');
module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with Pong!'),
async execute(interaction) {
return interaction.reply('Pong!');
}
};

View file

@ -1,17 +0,0 @@
module.exports = {
name: 'interactionCreate',
async execute(interaction) {
if (!interaction.isCommand()) return;
const command = client.commands.get(interaction.commandName);
if (!command) return;
try {
await command.execute(interaction);
} catch (error) {
console.error(error);
await interaction.reply({ content: 'Impossible de lancer cette commande.', ephemeral: true });
}
},
};

View file

@ -1,7 +0,0 @@
module.exports = {
name: 'ready',
once: true,
execute() {
console.log('Prêt !');
}
};