From c8d528b48fc131d4712778a43981e414d6b043f7 Mon Sep 17 00:00:00 2001 From: DaInfLoop Date: Sat, 22 Jun 2024 19:58:57 +0100 Subject: [PATCH] fix: monthly is fixed properly --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b8962bc..ad6190a 100644 --- a/index.js +++ b/index.js @@ -1130,7 +1130,7 @@ app.command('/b-monthly', async (ctx) => { await sql`UPDATE users SET cshards = ${user.cshards + cshards}, dshards = ${user.dshards + dshards}, spoints = ${user.spoints + spoints} WHERE slack_id = ${ctx.context.userId};` - await sql`UPDATE cooldowns SET monthly = ${new Date(now.getTime() + (30 * 7 * 24 * 60 * 60 * 1000))};` + await sql`UPDATE cooldowns SET monthly = ${new Date(now.getTime() + (30 * 24 * 60 * 60 * 1000))};` } else { ctx.respond({ response_type: 'ephemeral',