From ede7d93b3dc0ab53e38d69b6393b129702b82b35 Mon Sep 17 00:00:00 2001 From: Taken Date: Wed, 31 Jan 2024 18:33:00 +0100 Subject: [PATCH] Small fix --- src/commands/timeout.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/commands/timeout.ts b/src/commands/timeout.ts index 1d36d89..487b947 100644 --- a/src/commands/timeout.ts +++ b/src/commands/timeout.ts @@ -44,16 +44,6 @@ export = { const { default: prettyMs } = await import("pretty-ms") const prettyTime = prettyMs(time, { verbose: true }) - if (!time) { - await interaction.editReply({ - embeds: [{ - description: "Time is invalid for some reason", - color: embedColor - }] - }) - return - } - if (time > 2419140000) { await interaction.editReply({ embeds: [{