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 commandes
7 Replies
d.js toolkit
d.js toolkit6mo 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!
Wavee
WaveeOP6mo ago
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 inserted
d.js docs
d.js docs6mo ago
:guide: Creating Your Bot: Command handling read more
treble/luna
treble/luna6mo ago
if thats what you mean also why not use slash commands
Wavee
WaveeOP6mo ago
Thanks I don't like them too much I don't make too many public bots. So it's no use to me.
treble/luna
treble/luna6mo ago
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
Wavee
WaveeOP6mo ago
I see

Did you find this page helpful?