Skip to content

Commit

Permalink
remove dev logging in transfer commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeldaFan0225 committed Oct 25, 2022
1 parent 182871d commit 43e145d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/commands/transferkudos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
})
Expand Down
1 change: 0 additions & 1 deletion src/components/update_performance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default class extends Component {

override async run(ctx: ComponentContext<ComponentType.SelectMenu>): Promise<any> {
const performance = await ctx.stable_horde_manager.getPerformance()
console.log(performance)
const btn = new ButtonBuilder({
label: "Refresh",
style: 2,
Expand Down
1 change: 0 additions & 1 deletion src/modals/transfer_kudos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
})
Expand Down

0 comments on commit 43e145d

Please sign in to comment.