Assistance with registering commands and typescript
Hello, I was following the guide in the documentation and reached this point:
I've tried creating a seperate file (discord.d.ts)
with the following tsconfig.json
However I run into the following error that the property still doesn't exist:
client.commands = new Collection();I've tried creating a seperate file (discord.d.ts)
with the following tsconfig.json
However I run into the following error that the property still doesn't exist:
error TS2339: Property 'commands' does not exist on type 'Client<boolean>'.