mobile update

This commit is contained in:
2026-08-11 12:30:43 +02:00
parent 878e8fcdaa
commit c99a96c201
6 changed files with 373 additions and 256 deletions
+10 -3
View File
@@ -20,8 +20,15 @@ module.exports = {
const member = await getMember(client, timer.assignedUser);
if (!member) return;
await member.send(
`⚠️ Less than 24 hours remaining for: **${timer.topic}**`
).catch(() => {});
console.log(`⚠️ Less than 24 hours remaining for ${member.user.username}, notifying...`)
try {
await member.send(
`⚠️ Less than 24 hours remaining for: **${timer.topic}**`
)
console.log('notified successfully!')
} catch (e) {
console.error(`notification failed, errorr ${e}`)
}
}
};