A Discord bot that sends random messages from the previously sent messages in the same channel.
To run the the bot, make sure you have Node.js installed and a code a editor. I recommend Visual Studio Code
In your terminal type:
npm i
to install all dependencies
Navigate to config.json and change the value of clientId
and token
Before running the bot make sure to refresh the slash command by running the deploy-commands.js
first and then run the bot, in your terminal type:
node deploy-commands.js
node index.js
I'm still making the tutorial for self-hosting in order to run your bot 24/7.
If you need help, join my Discord Server