Skip to content

Commit 88b87ba

Browse files
Fix time in bump.listener.ts\
1 parent f7218b6 commit 88b87ba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/modules/core/bump.listener.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ export async function handleBumpStreak(
8686
// time since last bump
8787
if (lastBumpNotificationTime.getTime() !== 0) {
8888
const timeSinceLastBump = Date.now() - lastBumpNotificationTime.getTime();
89-
if (timeSinceLastBump < 300000) { // this might seem generous, but in reality when you factor in the discord delay, even if you react instantaneously on your screen you can still be too slow
89+
if (timeSinceLastBump < 30000) {
90+
// this might seem generous, but in reality when you factor in the discord delay, even if you react instantaneously on your screen you can still be too slow
9091
message.channel.send(
9192
`⚡⚡⚡ ${fakeMention(interactionOld.user)} bumped in just **${timeSinceLastBump / 1000}s**!`,
9293
);

0 commit comments

Comments
 (0)