discordjs / guide

The official guide for discord.js, created and maintained by core members of its community.
https://discordjs.guide
MIT License
1.57k stars 2.31k forks source link

index.js #416

Closed 007-Tommy closed 4 years ago

007-Tommy commented 4 years ago

Part of the guide or code sample the question is about https://discordjs.guide/command-handling/#individual-command-files

Question

Can you add what the index.js file should look like at the end of the command handler section, because i have an issue that is really simple but i cant figure out how to fix

007-Tommy commented 4 years ago

huh, my question hasnt loaded. if you cant see it, can you add what the index.js file should look like at the end of the command handler section, because i have an issue that is really simple but i cant figure out how to fix

almostSouji commented 4 years ago

Each section of the command handling guide has a "Resulting code" part at the very bottom of the respective feature (base handler, dynamic commands, adding features) which leads you to the resulting code in its entirety on the github repository.