This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
legacy-musicbot/events/ready.js
2020-06-24 15:07:24 +02:00

12 lines
314 B
JavaScript

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)
}