Mass Dm mention bot

Hey I want to make a bot that mass dm everyone on my server I have a server which sell courses ( E-commerce) and I need to announce somethings on Dms for everyone thank you
10 Replies
d.js toolkit
d.js toolkit16mo 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!
d.js docs
d.js docs16mo ago
Ratelimits are dynamically assigned by the API based on current load and may change at any point. - The scale from okay to API-spam is sliding and depends heavily on the action you are taking - Rainbow roles, clock and counter channels, and DM'ing advertisements to all members are all examples of things that are not okay DiscordAPIError: Cannot send messages to this user Your bot is trying to send a DM to a user, but failed to do so: - The user has DMs disabled or the bot blocked - The user no longer shares a guild with the bot (make sure to send informational DMs before banning/kicking) - The bot is trying to DM itself or another bot Note: You cannot check if you can send a DM beforehand but have to handle the rejection case
treble/luna
treble/luna16mo ago
too oh wrong tag
Strezox
StrezoxOP16mo ago
its my own server and all of them are my customers
d.js docs
d.js docs16mo ago
Mass DMing users is not allowed as per developer ToS, considered spam and can get you and your bot banned. - Mention @everyone to inform all your users at once instead - Discord Developer Terms of Service: learn more | FAQ summary
Strezox
StrezoxOP16mo ago
it's so important to me to have it in Dms Can you just tell me how to code it
treble/luna
treble/luna16mo ago
we do not support tos violations
Strezox
StrezoxOP16mo ago
ok
treble/luna
treble/luna16mo ago
so unless you are so eager to get banned, dont
Want results from more Discord servers?
Add your server