Bot-2.0/events/ready.js

12 lines
312 B
JavaScript
Raw Normal View History

2024-05-23 09:22:31 +00:00
const { Events } = require('discord.js');
const { ActivityType } = require('discord.js');
2024-05-23 09:22:31 +00:00
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 });
2024-05-23 09:22:31 +00:00
},
};