good practices for project structure for a discord bot?
hi there!
im new to the api as a whole and got kinda bummed out that is still writen in js and doesnt go in depth on project structure like other apis/packages that are more opinionated on its use, could someone guide me? i followed the docs and wrote it in typescript and this post https://sabe.io/tutorials/how-to-build-discord-bot-typescript but doesnt go more in depth, is there a good repo or example project that helps with these kinds of things? specially in discord.js typescript, thank you in advance!
Sabe
How to build a Discord bot using TypeScript - Sabe.io
Learn how to build a Discord bot that registers, handles, and uses slash commands with TypeScript, Discord.js, and Node.
3 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.i see, guess i mislayed the directory structure, ill look for it more carefully, and im not aware of sapphire, ill check it out right away too!
is there any big discord bots that have their repos public so i can take a look too?
ok, thank you very much!