'api' does not exist in type 'ClientOptions'.

I'm not able to specify API-related options because I get this: Object literal may only specify known properties, and 'api' does not exist in type 'ClientOptions'.
2 Replies
Noxillio
Noxillio11mo ago
Unless that's not how you're supposed to use those? It does say in the documentation to do that. This also happens after registering plugin-api
Favna
Favna11mo ago
Make sure all your dependencies are fully up-to-date then remove your lockfile and node_modules and reinstall. There was a borked release of @sapphire/pieces a couple of weeks ago.
Want results from more Discord servers?
Add your server