An open API service indexing awesome lists of open source software.

https://github.com/jswny/factorial

Discord integration for Factorio.
https://github.com/jswny/factorial

discord elixir factorio nostrum

Last synced: 3 months ago
JSON representation

Discord integration for Factorio.

Awesome Lists containing this project

README

          

# Factorial
Discord integration for Factorio.

## Configuration
| Name | Required? | Description | Default |
|-|-|-|-|
| `DISCORD_BOT_TOKEN` | **Yes** | The token for the associated Discord bot | N/A |
| `DISCORD_WEBHOOK_ID` | **Yes** | The ID for the Discord webhook | N/A |
| `DISCORD_WEBHOOK_TOKEN` | **Yes** | The token for the Discord webhook | N/A |
| `DATABASE_HOSTNAME` | No | The hostname for the Postgres database | `localhost` |
| `DATABASE_USERNAME` | No | The username for the Postgres database | `postgres` |
| `DATABASE_PASSWORD` | No | The password for the Postgres database | `postgres` |
| `COMMAND_PREFIX` | No | The command prefix for commands initiated through messages | `/f` |

## Running

### Local
Run with `mix run --no-halt`

### Docker
Run with `docker-compose up`

## Tests
Run the tests with `mix test`