Skip to content

Commit 3e04c20

Browse files
committed
Update index.ts
1 parent cbf7694 commit 3e04c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bot/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class LeetCodeBot {
129129
let messageText = "";
130130
if (missing > 0) {
131131
messageText = `Hey ${user.telegramUsername}, it looks like you missed ${missing} problem(s) that you were supposed to solve today. Let's get back on track and conquer those challenges! 💪`;
132-
} else if (missing === 0) {
132+
} else if (missing <= 0) {
133133
messageText = `Good job ${user.telegramUsername}, you're right on track today! Keep up the great work! 👍`;
134134
} else if (Math.abs(Math.round(missing / user.tasksCount)) >= 2) {
135135
messageText = `YOU'RE A BEAST, ${user.telegramUsername}! You're crushing it and surpassing your targets! 🚀`;

0 commit comments

Comments
 (0)