Rob
DIAdiscord.js - Imagine a boo! 👻
•Created by Rob on 12/4/2023 in #djs-questions
Advice on microservice architecture
Hi!
I am planning a discord.js bot for a private community with a small userbase. I have been looking at microservice for its scalability as I don't know how many features it will have.
Thinking about heading straight to monolithic scares me a bit due to not knowing the final size.
The bot as of now will have slash commands, a web dashboard and your typical features like reaction roles, polls etc.
I am aware of discordjs/(rest, ws, core) packages.
What would be the best ways to utilize them without introducing not needed strain on compute power and discord api?
If anyone has built one before and can share some of their learnings/mistakes/architecture designs, I would appreciate it!
2 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by Rob on 10/29/2023 in #djs-questions
Extending Guild, Channel, Member etc - TypeScript
Is it possible to extend upon Guild, Channel, Member etc objects?
I have tried extending them but the constructors require data which I don't have access to, fe
Am I trying to extend upon completely wrong objects or It is simply not possible?
4 replies