Enable onClientReady message

This commit is contained in:
2025-12-02 13:03:09 +01:00
parent 4bcdb4aa93
commit 2d7f13bb27

4
bot.js
View File

@@ -19,10 +19,10 @@ const launch = async () => {
await data.sender.send(data.socialChannelID, message)
});
/*data.client.once('clientReady', async () => {
data.client.once('clientReady', async () => {
await data.sender.send(data.updateChannelID, "I'm now online ! ✅")
console.log(`✅ Logged in as ${data.client.user.tag}`);
});*/
});
data.client.on('messageCreate', async (message) => {
const isGuildOwner = message.guild && message.author.id === message.guild.ownerId;