Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.
/ AwesomeBot Public archive

chatbot for /r/learnprogramming (un)offical discord channel

License

Notifications You must be signed in to change notification settings

progdisc/AwesomeBot

Repository files navigation

AwesomeBot Build Status Code Climate david-dm

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 -- .