unable to make changes
i have made a automod command but i cant able to set punishment or logs
12 Replies
- 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!
its not setting the automod punishment and log channel idk why
i have mention all things
i am setting it acc to the auto mod options
so shall i do it in this form
?
yeap its just blocking msgs
i need to enable these 2 options too
action name ?
any docs for them ?
automod in general
ig these are the options
AutoModerationRule#edit()
Edits this auto moderation Auto Moderation: Modify Auto Moderation Rule
read more
kk
yeap it worked just 1 thing the audit logs is shit
why its saying unknown
k
and that custom message is not working
Oh wait ig i have declared custom message in wrong action it should be in timeout action
1 more question like i am making 2 different command 1 for timeout and 1 for log
if i enable timeout then it remove log and if i add log it remove timeout how to fix it
how
i tried this but my brain is dying over and over
do you mean like this ??
kk
bro idk what happened in the codes but now its not updating and my brain is dying
please please can you see full code and tell why its acting
i am fixing all things since 5 hours
If you aren't getting any errors, try to place
console.log
checkpoints throughout your code to find out where execution stops.
โข Once you do, log relevant values and if-conditions
โข More sophisticated debugging methods are breakpoints and runtime inspections: learn morewhat to console ?