Enable onClientReady message
This commit is contained in:
4
bot.js
4
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;
|
||||
|
||||
Reference in New Issue
Block a user