How and when is considered API spam?

I see a lot of big bot doing big things like sending to a thousands of people a pm, and when I want do a thing like that I'm afraid to get my bot banned. I want to know when a bot can be banned or warned so I can avoid be afraid.
9 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.
MrMythical
MrMythical3y ago
I doubt you've seen a bot send 1000 people a dm, especially if it's verified API spam is simply when you spam the API though... it can't really be more clarified Sending 1K people a dm is definitely API spam
Klyde
Klyde3y ago
Like the bots that trace back to their users when they can vote on the sites, what I saw is inside 630027 servers So if my intentions are pure and not spam scam I have no reason to get in trouble?
MrMythical
MrMythical3y ago
but get handled by djs for you
just a note, this does not mean you should freely spam api, hoping djs will keep you safe A usual way I see api spam is when they make requests in loops
Klyde
Klyde3y ago
I'm asking because a customer asked me to write a command that warns attendees of an event 10 minutes before the event starts and I don't know if it can be considered spam
MrMythical
MrMythical3y ago
This should be a ping in a server Not dms
Klyde
Klyde3y ago
That's what I told him but he wants to do it via pm
MrMythical
MrMythical3y ago
It's against tos
Klyde
Klyde3y ago
Ok thank you very much really for the clarifications <3
Want results from more Discord servers?
Add your server