Skip to content

Commit

Permalink
debugging monthly report (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
bthomas2622 authored Jan 3, 2024
1 parent 796a941 commit 0e79beb
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 0e79beb

Please sign in to comment.