Skip to content

Commit

Permalink
#patch increased update message interval to 15 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaribsin committed Mar 22, 2024
1 parent 30fd090 commit f730c2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const configObj: Record<string, string | number | undefined> = {
BOT_OWNER: process.env.BOT_OWNER || '319226464786710539',

// Cron job intervals
PERSISTENT_MESSAGE_INTERVAL: '0 * * * *', // every hour
PERSISTENT_MESSAGE_INTERVAL: '*/15 * * * *', // every 15 minutes
API_UPDATE_INTERVAL: '*/10 * * * * *', // every 10 seconds
STATUS_UPDATE_INTERVAL: '*/3 * * * * *', // every 3 seconds
DB_DATA_INTERVAL: '0 * * * *', // every 1 hour
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export async function warStatusPersistentMessage() {

const updateEmbed = new EmbedBuilder()
.setDescription(
`This message is periodically updated! It was last updated <t:${timestamp}:R>.`
`This message is updated every 15 minutes! It was last updated <t:${timestamp}:R>.`
)
.setFooter({text: SUBSCRIBE_FOOTER})
.setTimestamp();
Expand Down

0 comments on commit f730c2c

Please sign in to comment.