spam related

How to make a slash command to prevent spamming in server
9 Replies
d.js toolkit
d.js toolkit9mo 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 OP
AgEnT007
AgEnT007OP9mo ago
Yes I want a command to prevent people from spamming messages
-Carlos👑
-Carlos👑9mo ago
slash commands have nothing to do with making an anti-spam system
AgEnT007
AgEnT007OP9mo ago
How
-Carlos👑
-Carlos👑9mo ago
you would need to listen to the messageCreate event and add your logic where you detect when a user is spamming, nothing related to slash commands
AgEnT007
AgEnT007OP9mo ago
Do you have any examples or tutorials
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
AgEnT007
AgEnT007OP9mo ago
Ok then how should give warning s points when the user is spaming
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server