Problem with extended SapphireClient
Hi there I'm trying to extend the
SapphireClient
to add some custom property. Here's all what I got already:
How I initialize the client:
But then somehow discord.js throws this error:
any idea what is really happening here?2 Replies
When I try initialize the client with original SapphireClient, it worked just fine
Btw here's the types conflict error that i supressed
Seems that the discord.js's default options were gone
that is logged from discord.js node_modules btw
Solution
Welp fixed, it seems that the options were overrided by the public keyword