mirror of https://github.com/kry008/Bot-2.0.git
12 lines
312 B
JavaScript
12 lines
312 B
JavaScript
const { Events } = require('discord.js');
|
|
const { ActivityType } = require('discord.js');
|
|
|
|
module.exports = {
|
|
name: Events.ClientReady,
|
|
once: true,
|
|
execute(client) {
|
|
console.log(`Ready! Logged in as ${client.user.tag}`);
|
|
client.user.setActivity('kry008.xyz/bot/i', { type: ActivityType.PLAYING });
|
|
},
|
|
};
|