Bot-2.0/events/ready.js

11 lines
243 B
JavaScript

const { Events } = require('discord.js');
module.exports = {
name: Events.ClientReady,
once: true,
execute(client) {
console.log(`Ready! Logged in as ${client.user.tag}`);
client.user.setActivity('a game', { type: 'PLAYING' });
},
};