Bot website?

I'm making a website for my Discord.js bot, but have no idea how to do it. I'm using Wix Studio because then I can make a good website, and I only need to use HTML to fetch the stats, however I have a few questions: #1: How do I fetch the stats? #2: How can I add a feature to said website like other bots such as MEE6 and Dyno have to create custom commands for each person who buys access when they add the bot to their server? #3: Do I have to have seperate servers for each server that uses the bot (since its gonna be public), and if so how do I set them up automatically when someone signs up?
4 Replies
d.js toolkit
d.js toolkit•12mo 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! - ✅ Marked as resolved by staff
duck
duck•12mo ago
1. not sure what you mean by "the stats", but this doesn't sound related to the discord api, and likely isn't something you'd do with discord.js 2. I've never used mee6 and dyno personally, but if you're looking for commands that entirely don't appear in a given guild, it sounds like these custom commands are registered as guild commands rather than global commands alternatively you're free to register all commands as global commands to reduce the overall api request you make and just programmatically deny execution based on your stored data 3. if when you say "separate servers for each server", you mean hosts for your bot, the answer is no your Client instance can handle multiple guilds you may want to look into more complex hosting as your bot approaches the resource capacity when your bot is in thousands of guilds and sharding is required, but whether this is actually necessary depends on your host
Bonanoo 🇮🇱
What i would do is have an express server for api Routers that would send u the data u need So u can just fetch it for what u need
duck
duck•12mo ago
marking as resolved due to being further discussed and resolved here <#1173808093101031464>
Want results from more Discord servers?
Add your server