Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ackle-dev authored Jan 13, 2025
1 parent 806cd63 commit aacf6d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ scheduleJob('*/5 * * * *', refreshCachedLangSpec);
logger.info('Process setup complete.');

async function sendError(e: Error) {
for (const devId of DevIds) {
const date = new Date();
for (const devId of DevIds)
client.users.fetch(devId).then(user => {
const date = new Date();
user.send({
embeds: [
new EmbedBuilder()
Expand All @@ -244,5 +244,4 @@ async function sendError(e: Error) {
]
});
});
}
}

0 comments on commit aacf6d2

Please sign in to comment.