From d0d5e3bcff83c1bb43b641f1b5752db46c9358e7 Mon Sep 17 00:00:00 2001 From: Dominik Koch Date: Sat, 6 Jul 2024 13:44:22 +0200 Subject: [PATCH] remove console logs --- src/commands/utility/info.ts | 5 ----- src/util/premiumHandler.ts | 4 ---- 2 files changed, 9 deletions(-) diff --git a/src/commands/utility/info.ts b/src/commands/utility/info.ts index 067c65e2..dcb537dd 100644 --- a/src/commands/utility/info.ts +++ b/src/commands/utility/info.ts @@ -40,13 +40,8 @@ const command: ChatInputCommand = { const unixstamp = Math.floor(Date.now() / 1000) - Math.floor((client.uptime || 0) / 1000); - const premium = await client.premium.check(interaction.guildId) - console.log(premium) - - console.log(interaction.guildId) - const infoEmbed = new EmbedBuilder() .setColor("#5865f4") .setTitle("Bot Info") diff --git a/src/util/premiumHandler.ts b/src/util/premiumHandler.ts index 5c006e21..a2797f7a 100644 --- a/src/util/premiumHandler.ts +++ b/src/util/premiumHandler.ts @@ -14,10 +14,6 @@ export default class PremiumHandler { const guild = await this.client.database.getGuild(guildId!, true, true); - console.log("guild " + guild) - - console.log(guild?.premium) - if (guild?.premium == 1) return { result: true,