| 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', | |
| }); | |
| }, | |
| }; | |