Is it possible to use discord.js-light with Sapphire?

The title is self-explanatory, I think.
Solution:
If you're asking about if the framework will work, we can't guarantee it because it was not made with discord.js-light in mind. I'm not sure about the best way to make sapphire use it though, forking and overrides both sound like good options
Jump to solution
6 Replies
Lioness100
Lioness1003y ago
We certainly can't guarantee it
.
.OP3y ago
I meant replacing the package name from discord.js to discord.js-light. Do I need to fork Sapphire? Maybe I could use yarn overrides
Solution
Lioness100
Lioness1003y ago
If you're asking about if the framework will work, we can't guarantee it because it was not made with discord.js-light in mind. I'm not sure about the best way to make sapphire use it though, forking and overrides both sound like good options
Lioness100
Lioness1003y ago
Overrides would obviously be easier
.
.OP3y ago
Okay, thanks. I think I will try overrides, stuff is probably going to break though.
Favna
Favna3y ago
we import from discord.js so only if you use yarn/npm patches anyway djs light isn't worth the trouble. You shouldn't disable cache, just get a system with enough RAM and/or SWAP

Did you find this page helpful?