Node.js Sample

by EliteDaMyth

GitHub Readme.md

Sloppiers-heroku-discord-bot

A barebones Node.js bot using discord.js.

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

git git@github.com:SloppierKitty7/Sloppiers-heroku-discord-bot.git # or clone your own fork
cd Sloppiers-heroku-discord-bot
npm install
npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

heroku create
git push heroku master
heroku open

Alternatively, you can deploy your own copy of the app using the web-based flow:

Deploy to Heroku

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles: