Plan I want to Verifiy - Bulk Messages

So this is more of a "I don't need help doing this, but woukd like to aor the concept". My bot is for a game that has two factions. These factions use Discord. My Faction has a server for all members, and of course all the clans have their servers too. What I want to make, is a Slash Command in the main server, that posts a message to a chosen channel and with chosen roles/text; for clan server my bot is that has opted-in; I am not forcing the pings onto the servers. So to recap: Main server posts an emergency for example. All subscribed servers get a message with chosen pings for the emergency; possibly different pings per type, also defined by the clan servers. To avoid the 50/s limit, I was thinking to batch the messages in 20 sends per second. As the rate limits are per route, it is my expectation that no one message will get rate limited and my only concern is the global limit. Concur? Thanks.
2 Replies
d.js docs
d.js docs3y ago
• 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.
Yinoguns
YinogunsOP3y ago
DJS is v14. No error, so no code, just airing a concept. As in a News Channel from a single Publish, or a webhook to each server? Yea that's my thinking I've actually used all 3 methods for different purposes So be it webhook message, or standard message, this plan doesn't sound fraught with any issues? I'll probably go with Message, as I can recind the functionality easier than a Webhook
Want results from more Discord servers?
Add your server