Multi Guild Bot Management

Hello Guys, I am building a multi guild discordbot and I already figured out to use a DB. My Plan was everytime the bot joins a new server, to create a few tables to manage the data for that server and when the bot leaves the server again it will delete all tables from the DB again. However no matter how much I think about it I just cant figure out how many tables I need per server. Like I need one for Userdata and one for chatlogs, settings, etc. But I just feel like I am missing something? Has anyone done a multi guild bot before? How many tables per server do you create and for what purposes?
2 Replies
d.js toolkit
d.js toolkit13mo 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!
souji
souji13mo ago
this forum is for questions regarding using discord.js, not database design specifics depend on your choice of database and design philosophy
Want results from more Discord servers?
Add your server