️ Add events

This commit is contained in:
Zerio
2020-06-24 15:07:24 +02:00
committed by GitHub
parent 09483a5eda
commit 289f1f6fef

11
events/ready.js Normal file
View File

@@ -0,0 +1,11 @@
const config = require(`../config/bot.json`)
module.exports = async (client) => {
//If the bot is ready it sends a message in the console
console.log(`Ready on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users`);
//Game
client.user.setActivity(config.game)
}