AwesomeBot
AwesomeBot copied to clipboard
chatbot for /r/learnprogramming (un)offical discord channel
trafficstars
AwesomeBot

How to run it
First, make sure you have the latest version of Node.js and npm.
We recommend using nvm to manage these, and there's a .nvmrc file in this project, so just run this and you're all set:
nvm use
Now you need to install the dependencies:
npm install
Then, in order to log your bot into Discord, set your bot token:
export DISCORD_TOKEN=<your discord app token>
# you could, instead, fill it in the ./settings.json file
And finally, start your bot with:
npm start
Before pushing any changes or submitting PRs, don't forget to run eslint, or our CI may reject your request:
npm run lint -- .