Skip to content

Commit

Permalink
fix: 🚑 Remove failing code
Browse files Browse the repository at this point in the history
  • Loading branch information
VermiumSifell committed Dec 13, 2022
1 parent 37230c7 commit be99b4c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/commands/utils/modules/about/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit be99b4c

Please sign in to comment.