Click here to deploy!
npm run dev
will launch the bot locally, with hot reloading included.
There are a few other scripts provided:
start
: Starts up the bot without hot reloading; used for the heroku deployment described below.lint
: Lints the project with ESLint.test
: Runs all the tests! (no tests for now)
For the bot to run properly, it needs these variables, laid out in the .env.sample
file:
DISCORD_API_TOKEN
: Your discord API token. See this guide on how to obtain one.