This commit is contained in:
VALOU3336
2024-02-14 08:24:51 +01:00
7 changed files with 80 additions and 54 deletions
+6 -13
View File
@@ -1,15 +1,8 @@
const { Events, ActivityType } = require("discord.js")
const { Events, ActivityType } = require("discord.js");
module.exports = {
name : Events.ClientReady,
async execute(client) {
//if (client.commands && Array.isArray(client.commands)) {
// client.application.commands.set(client.commands.map(command => command.data));
//} else {
//console.error('Les commandes du client sont manquantes ou mal formatées');
//}
console.log(`${client.user.username} est en ligne`);
},
name: Events.ClientReady,
async run(client) {
}
};