feat: add procfile for Heroku

This commit is contained in:
Jon Deaves
2020-08-12 11:24:55 +01:00
committed by GitHub
parent 73a2af412f
commit 9def24b45c
3 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ At a minimum you need to provide the Discord bots Token, which can be found on t
|-------------------|-------------|---------|
| BOT_TRIGGER | Prefix of message to let bot know you are speaking to it
| DISCORD_BOT_TOKEN | Discord bots Token
| ENVIRONMENT | What environment the bot is running in | `production`, `development` or `test` |
| NODE_ENV | What environment the bot is running in | `production`, `development` or `test` |
| LOG_LEVEL | What level of logs should be displayed in console | `error`, `warn`, `info`, `verbose`, `debug` or `silly` |
### Bot commands

1
procfile Normal file
View File

@@ -0,0 +1 @@
worker: node node dist/main.js

View File

@@ -1,4 +1,4 @@
BOT_TRIGGER=!
DISCORD_BOT_TOKEN=[replace with own token]
ENVIRONMENT=production
NODE_ENV=production
LOG_LEVEL=error