Slash command and message command handler complained
Hello, My brain is empty and I want to make a Slash command along with normal message handler with the point of the handler is to make it easier to add more commands and I want the argus to be type safe because I'm using typescript, if you have any suggestion for good code structure I'm willing to hear :)
4 Replies
- 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!Bun the 1.0.1 and discord.js 14.13 and typescript
what do you mean exactly?
I mean I want a good structure for message command handler and slash command handler in the same project!
I have them separated but I just wanna hear other people opinion maybe they have some idea for reusability or something
I understand but it's a private bot for a mobile users they find it more accessible to use message commands!
People hate to change what they know :/
I guess thats it