wolfcountBot/events/ready.js

16 lines
412 B
JavaScript
Raw Normal View History

2023-04-28 07:48:43 -04:00
const client = require("../index");
const { ActivityType } = require('discord.js');
client.on("ready", () => {
console.clear();
console.log(`${client.user.tag} is up and ready to go!`);
// set the status to do not disturb
// client.user.setStatus('dnd')
client.user.setPresence({
activities: [{ name: `over msgs for certain letters`, type: ActivityType.Watching }],
status: 'dnd',
});
});