mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-03 23:36:35 +02:00
15 lines
487 B
JavaScript
15 lines
487 B
JavaScript
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`);
|
|
|
|
},
|
|
}; |