Automod System

So yesterday I had a problem with my automod system, which I fixed, however I want to make it so if the user has 6 auto warnings it will do something else, however my code doesn't seem to work. utils.js https://pastebin.com/ANVk3A9E (Line 105) Pastebin Password: H61sH6dHJ0 filter.js https://pastebin.com/cy6T1Re2 Pastebin Password: 7T29D3EFy5 I know this code is really messy, but that is the only solution I found to fix these problems for example data.length being counted correctly until 3, starting from 3 it starts going up by 2, etc
Pastebin
Pastebin.com - Locked Paste
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com - Locked Paste
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
4 Replies
d.js toolkit
d.js toolkit•15mo 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!
-Carlos👑
-Carlos👑OP•15mo ago
bump
monbrey
monbrey•15mo ago
I know you said you have issues with data.length but you modify it so many times that it's almost impossible for me to know what it's meant to be Im also not sure how your queue is working, I see you waiting and shifting, but nothing ever seems to be placed on it
-Carlos👑
-Carlos👑OP•15mo ago
i'm using it so if someone sends 3 filtered words quickly it will actually trigger the automod
Want results from more Discord servers?
Add your server