1 file changed
+15
@@ -0,0 +1,15 @@
|
|||||||
|
import { ActivityType, Events } from 'discord.js';
|
||||||
|
import { createLogger } from '../core/logger.js';
|
||||||
|
|
||||||
|
const log = createLogger('discord');
|
||||||
|
|
||||||
|
export const name = Events.ClientReady;
|
||||||
|
export const once = true;
|
||||||
|
|
||||||
|
export async function execute(client) {
|
||||||
|
client.user.setActivity('FWS Arch', { type: ActivityType.Watching });
|
||||||
|
log.info(`Connected as ${client.user.tag}`, {
|
||||||
|
guilds: client.guilds.cache.size,
|
||||||
|
commands: client.commands.size,
|
||||||
|
});
|
||||||
|
}
|
||||||
Reference in new issue
Block a user