how do I create a abstracted role layer for mocking

This is the current way I am mocking roles https://github.com/BeanieMen/HueHueHue/blob/master/tests%2Finteraction.ts How do I properly abstract the role layer
GitHub
HueHueHue/tests/interaction.ts at master · BeanieMen/HueHueHue
Contribute to BeanieMen/HueHueHue development by creating an account on GitHub.
2 Replies
d.js toolkit
d.js toolkit9mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
beanieemann
beanieemannOP9mo ago
@Qjuh do you know anyone that has already done this, I have never mocked an api befor
Want results from more Discord servers?
Add your server