Bonjour
Bonjour je viens de commencer le discours.js et je voudrais un index.js qui prend en compte juste les commandes préfixe sachant que je ne mettrai pas mes commandes directement dans l'index j'utilise actuellement un dossier
commands
pour stocker les fichiers de mes commandes7 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!Sorry
Do you know any French servers?
If I rephrase my request in English, could you help me?
Thanks
Hello, I just started discord.js and I would like an index.js that only takes into account the prefix commands knowing that I will not put my commands directly in the index,
I use a folder named
commands
where all my commands are insertedif thats what you mean
also why not use slash commands
Thanks
I don't like them too much
I don't make too many public bots.
So it's no use to me.
what does your bot being public have to do with this
Slash commands are just way easier to handle rather than 'messages
You also dont need any validation
I see