.addChoices and name_localizations
Hello, I have big problems with 2 orders containing . addChoices, here are the screens, if a charitable soul can @ to propose an idea I’m taking:)
I have a good look in my folder AutoModeration and are the only two commands with an . addChoices
11 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!Why are you using OR (||) operator there :waitWhat: ? Also
name_localizations:
is a property, not a functionname_localizations gives me exactly the same error 😦
Show your updated code
again
name_localizations isnt a function didnt see the :
folder Automoderation
and my folder...
well I find...
I forgot to fill my name_localizations of another command I think
little question in this code, is it possible that if a file poses problem, it tells me in the console directly that it is the file? https://sourceb.in/LaGVfwcTp1
:5692peepofinecry:
but this line
Is it possible that he tells me Not loaded if a file is problematic?
how can I modify all code so that it displays me a if (command.name) a file with problems?