From 43e145df81fe86f751f01dd7a89b203e8e633556 Mon Sep 17 00:00:00 2001 From: ZeldaFan0225 <78901316+ZeldaFan0225@users.noreply.github.com> Date: Tue, 25 Oct 2022 19:12:27 +0200 Subject: [PATCH] remove dev logging in transfer commands --- src/commands/transferkudos.ts | 1 - src/components/update_performance.ts | 1 - src/modals/transfer_kudos.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/src/commands/transferkudos.ts b/src/commands/transferkudos.ts index 5732e25..1f07903 100644 --- a/src/commands/transferkudos.ts +++ b/src/commands/transferkudos.ts @@ -57,7 +57,6 @@ export default class extends Command { }, token).catch(e => e) if(typeof transfer.name === "string") return ctx.error({error: transfer.name}) - console.log(transfer) ctx.interaction.reply({ content: `Transferred ${amount} kudos to ${username}` }) diff --git a/src/components/update_performance.ts b/src/components/update_performance.ts index e75151a..30a86c1 100644 --- a/src/components/update_performance.ts +++ b/src/components/update_performance.ts @@ -14,7 +14,6 @@ export default class extends Component { override async run(ctx: ComponentContext): Promise { const performance = await ctx.stable_horde_manager.getPerformance() - console.log(performance) const btn = new ButtonBuilder({ label: "Refresh", style: 2, diff --git a/src/modals/transfer_kudos.ts b/src/modals/transfer_kudos.ts index 90e9ab3..1578e2e 100644 --- a/src/modals/transfer_kudos.ts +++ b/src/modals/transfer_kudos.ts @@ -16,7 +16,6 @@ export default class extends Modal { const username = (ctx.interaction.components[0]?.components[0] as TextInputModalData).value const amount = parseInt((ctx.interaction.components[1]?.components[0] as TextInputModalData).value) const token = await ctx.client.getUserToken(ctx.interaction.user.id, ctx.database) - console.log(amount) if(isNaN(amount) || amount <= 0) return ctx.error({ error: "You can only send one or mode kudos" })