Simple and quick Discord Bot code
First off, make sure you have Node.js installed on your machine. Then install all depedencies with yarn
yarn
Then, you can create the discord bot on their website and set the token on the config.json file.
Now, you can run the script with
node index.js
With the link provided by discord, you can add your bot to your server and give him all the permissions needed. You can also change the prefix to the commands on config.json file