/price errors: migrate to new API
Closed this issue · 4 comments
kevinlul commented
TypeError: Cannot read properties of null (reading 'map')
at PriceCommand.execute (/src/commands/price.ts:157:8)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task\_queues:96:5)
at PriceCommand.run (/src/Command.ts:41:20)
at InteractionListener.run (/src/events/interaction.ts:28:3)
kevinlul commented
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at PriceCommand.getPrice (/src/commands/price.ts:109:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at PriceCommand.execute (/src/commands/price.ts:128:19)
at PriceCommand.run (/src/Command.ts:41:20)
at InteractionListener.run (/src/events/interaction.ts:32:5)
kevinlul commented
Empty response body declared as JSON
kevinlul commented
kevinlul commented
Forward path is actually to migrate to the new version of this API: