⌛️ Add events
This commit is contained in:
11
events/ready.js
Normal file
11
events/ready.js
Normal 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)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user