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.
- Host: GitHub
- URL: https://github.com/jswny/factorial
- Owner: jswny
- Created: 2021-01-19T16:11:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-17T06:27:37.000Z (over 5 years ago)
- Last Synced: 2026-01-29T20:16:26.681Z (5 months ago)
- Topics: discord, elixir, factorio, nostrum
- Language: Elixir
- Homepage: https://discord.com/oauth2/authorize?client_id=801614238892163083&scope=bot&permissions=387136
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`