Discord.JS Stats Database

How can I display 1d, 3d, 7d of text & voice channel activity and also the top text & voice channel as shown in the picture. So what I mean is what my database should look like. I use supabase for this and would like to have everything in one database table. I would do it like this. Gladly improvements or ideas: - guild_id INT PRIMARY - user_id INT - text_channel JSON (eg: [{ "1d": "MSG Value", "3d": "MSG Value", "7d": "MSG Value", }]) - text_top_channels JSON - voice_channel json (eg: [{ "1d": "Voice Seconds Value", "3d": "Voice Seconds Value", "7d": "Voice Seconds Value", }]) - voice_top_channels JSON
No description
2 Replies
d.js toolkit
d.js toolkit21h 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!
MecryTv | Joe
MecryTv | JoeOP20h ago
Okay sorry. I tell the questions in these section

Did you find this page helpful?