mirror of https://github.com/kry008/Bot-2.0.git
11 lines
243 B
JavaScript
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' });
|
||
|
},
|
||
|
};
|