-
Install Dependencies: Make sure you have Node.js installed. Then, install the necessary dependencies by running:
npm install -
Create a
.envFile: Place a.envfile in the same directory asbot.jswith your Discord bot authentication token. You can find this token in the Discord Developer Portal. The.envfile should contain a single line like this:TOKEN="YOUR_BOT_TOKEN" -
Configuration: Fill out the developer section in the
config.jsfile.
Start the bot by running:
node bot.js