update
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
require("dotenv").config();
|
||||
const { ActivityType } = require("discord.js");
|
||||
const { glob } = require("glob");
|
||||
const { promisify } = require("util");
|
||||
const globPromise = promisify(glob);
|
||||
@ -54,7 +55,8 @@ module.exports = async (client) => {
|
||||
basecount = countdocument.count || 0;
|
||||
|
||||
console.log('');
|
||||
console.log(`Starting count from ${basecount}`)
|
||||
console.log(`Starting count from ${basecount}`);
|
||||
console.log(``);
|
||||
}).catch((error) => {
|
||||
console.error(error);
|
||||
});
|
||||
@ -76,6 +78,11 @@ module.exports = async (client) => {
|
||||
// Slash Commands Register
|
||||
client.on("ready", async () => {
|
||||
|
||||
// client.user.setPresence({
|
||||
// activities: [{ name: `over msgs for certain letters`, type: ActivityType.Watching }],
|
||||
// status: 'dnd',
|
||||
// });
|
||||
|
||||
cron.schedule('*/2 * * * *', async () => {
|
||||
console.log(`${moment(Date.now()).format('DD/MM/YY H:mm:ss')} Starting count refresh...`);
|
||||
|
||||
|
Reference in New Issue
Block a user