This code is complete spaget. Don't bother looking at it. If you're interested, here's the original, which makes a reddit bot.
If you want to add it to your server, do so here
To host your own instance, clone the files, run npm install
, then node setup.js
to set up the model. Then make a file called .env
and put BTOKEN=BOT_TOKEN
where BOT_TOKEN
is your bot's token. Now, to start the bot run node index.js
.