how could I create a folder of commands in which I’ll put ban.js join.js etc for my discord bot
To create a folder, add the folder name you want to the file name when creating it e.g. add a new file and call it commands/ping.js
.
This example project shows a discord bot setup for adding a folder of commands: https://glitch.com/edit/#!/discordjs-bot