From be99b4cf623d3fde333e71fd3f4def7746305a26 Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Tue, 13 Dec 2022 17:30:54 +0100 Subject: [PATCH] fix: :ambulance: Remove failing code --- src/commands/utils/modules/about/index.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/commands/utils/modules/about/index.ts b/src/commands/utils/modules/about/index.ts index 5a9c9a81..30035116 100644 --- a/src/commands/utils/modules/about/index.ts +++ b/src/commands/utils/modules/about/index.ts @@ -38,16 +38,6 @@ export default { interaction.guild ); - const { client } = interaction; - if (client?.uptime === null) return; - let totalSeconds = client?.uptime / 1000; - const days = Math?.floor(totalSeconds / 86400); - totalSeconds %= 86400; - const hours = Math?.floor(totalSeconds / 3600); - totalSeconds %= 3600; - const minutes = Math?.floor(totalSeconds / 60); - const seconds = Math?.floor(totalSeconds % 60); - // // Initialize a storage for the user ids // const userIds = new Set(); // // Iterate over all guilds (always cached)