diff --git a/bot.js b/bot.js index 1a3c353..95b48af 100644 --- a/bot.js +++ b/bot.js @@ -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;