This is a simple node Discord bot for organising pickup games, which is set up to be specific to Armagetron Advanced. This is a forked repo, and was not originally written by me. This project uses discord.js.
To run locally, clone the repo, then run npm install
and node main.js
. You need to have DISCORD_TOKEN in env (e.g. export DISCORD_TOKEN='Your token here'
).
There's a good tutorial here (if the link is dead, google it).
- Fork this repo in Github (you'll need to create an account).
- Create an account on Heroku if you don't have one already
- On your Heroku Dashboard, create a new Heroku app
- Connect your Heroku account to Github up the app to deploy from your forked repo.
- In your app's Resources section, enable the worker dyno and disable the web dyno.
- In your app's Settings, reveal config vars, then set DISCORD_TOKEN to your bot user token (see above
- Restart all dynos using the 'More' menu. You're done!