File size: 937 Bytes
3c7e34b
 
 
a15a13b
3c7e34b
 
eab4b19
3c7e34b
eab4b19
3c7e34b
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const { ActivityType } = require('discord.js');

module.exports = {
    name: 'ready',
    once: true,
    execute(client) {
        const sessionId = Math.random().toString(36).substring(7).toUpperCase();
        console.log(`\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━`);
        console.log(`  🟣  WSB β€” Wyvern Softworks Bot [ID: ${sessionId}]`);
        console.log(`  βœ…  Logged in as ${client.user.tag}`);
        console.log(`  🏠  Serving ${client.guilds.cache.size} guild(s)`);
        console.log(`━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n`);

        client.user.setPresence({
            activities: [{ name: 'Wyvern Softworks', type: ActivityType.Watching }],
            status: 'dnd',
        });
    },
};