Skip to content

Commit

Permalink
debugging monthly report
Browse files Browse the repository at this point in the history
  • Loading branch information
bthomas2622 committed Jan 3, 2024
1 parent 796a941 commit cd56465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bot-scripts/message-history.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function processMessageHistory(messagesArray) {

return messageHistoryFormatted;
} catch (error) {
console.error("Error processing message history");
console.error(error);
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ client.once(Events.ClientReady, async () => {
});

// schedule channel activity summary for the past month to run on first of every month
schedule.scheduleJob("2 0 2 * *", async () => {
schedule.scheduleJob("2 0 1 * *", async () => {
try {
const theFeedChannel = client.channels.cache.find(channel => channel.name.toLowerCase() === "the-feed");
const dateForHistory = new Date();
Expand Down

0 comments on commit cd56465

Please sign in to comment.