Skip to content

Commit 8aa35b0

Browse files
committed
chore: remove logging
1 parent e6649b0 commit 8aa35b0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

utils/NotificationManager.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,12 @@ export default class NotificationManager {
4242
targetId: string
4343
token: string
4444
}): ReturnType<typeof removeNotificationData> {
45-
console.log('Removing notification for', userId, targetId, token)
4645
clearTimeout(this.timeouts[`${userId}:${targetId}:${token}`])
4746
return await removeNotificationData({ targetId, token })
4847
}
4948

5049
public async scheduleNotification(noti: Notification) {
51-
console.log('Scheduling notification for', noti.vote_id)
5250
const time = noti.last_voted.getTime() + VOTE_COOLDOWN + 1000 * 60 - Date.now()
53-
console.log('Time:', time)
5451

5552
if (time <= 0) {
5653
return
@@ -81,7 +78,6 @@ export default class NotificationManager {
8178
}
8279

8380
private async pushNotification(noti: Notification) {
84-
console.log('Pushing notification for', noti.vote_id)
8581
const isBot = noti.type === ObjectType.Bot
8682
const target = isBot
8783
? await get.bot.load(noti.target_id)

0 commit comments

Comments
 (0)