summary refs log tree commit diff
path: root/slowcord/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'slowcord/src/index.ts')
-rw-r--r--slowcord/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/slowcord/src/index.ts b/slowcord/src/index.ts

index f741d355..20f0aee7 100644 --- a/slowcord/src/index.ts +++ b/slowcord/src/index.ts
@@ -91,7 +91,7 @@ app.use((req, res, next) => { } else if (rateLimits[ip] > Date.now()) { rateLimits[ip] += allowRequestsEveryMs; - console.log(`user ${ip} was timed out for ${(rateLimits[ip] - Date.now()) / 1000}s`); + console.log(`${new Date()} : user ${ip} was timed out for ${(rateLimits[ip] - Date.now()) / 1000}s`); return res.sendStatus(429); } else {