'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
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
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.