Command handler error
Hi, I started coding this new bot with Typescript yesterday. I touched something and now my .ts file to deploy my commands won't work. The error doesn't happen in
deploy_commands.ts
actually but in my index.ts
.
Here's the code so far:
deploy_commands.js
index.ts (interested part only)
The error I get is as follows:
1 Reply
it may be my ping.ts command as if I remove it the deploy works
i'll take a look at it thanks <3
Ok so, I used Typescript's import and export features. The problem should be at ping.ts:1:1?
I don't know how to solve it honestly, I can't
const
as it would be an existing declaration
I do some projects as hobby and I'm learning online, without courses, just for fun. Thanks for the correction tho