Skip to content

Commit

Permalink
added timezone for Europe/Berlin
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickhat committed Jan 25, 2024
1 parent f84d014 commit b0a4ab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/listeners/ready.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export default (client: Client, logger: ILogger): void => {

logger.logSync('INFO', `${client.user.username}#${client.user.discriminator} ist online!`)

// Everyday at 13:37 (24 hour clock) Europe/Berlin time
schedule.scheduleJob({ rule: '37 15 * * *', tz: 'Europe/Berlin' }, async () => {
// Everyday at 13:37 (24 hour clock) Europe/
schedule.scheduleJob({rule: '37 15 * * *', tz: 'Europe/Berlin'}, async () => {

Check failure on line 14 in src/listeners/ready.ts

View workflow job for this annotation

GitHub Actions / docker (21.x)

A space is required after '{'

Check failure on line 14 in src/listeners/ready.ts

View workflow job for this annotation

GitHub Actions / docker (21.x)

A space is required before '}'
logger.logSync('INFO', `Entered scheduleJob : channel_id=${process.env.SEND_1337_CHANNEL_ID}`)
const targetChannel = await client.channels.fetch(process.env.SEND_1337_CHANNEL_ID ?? '')

Expand Down

0 comments on commit b0a4ab6

Please sign in to comment.