FactoCord -- a Factorio to Discord bridge bot for Linux
Make sure you have your .env
file in the same directory as the executable/binary, you can use .envexample
the template
There are two ways of starting FactoCord
- Using the start.sh bash script (bash start.sh or ./start.sh) (make sure you chmod +x the script first)
- Manually running the binary (./FactoCord)
To install FactoCord as a service so that it can run on startup, you can use the provided service.sh
Note you must run service.sh as root/sudo to install it as a service
Example of running service.sh:
./service.sh factorio /home/facotrio/factocord/
Requires go 1.8 or above
FactoCord uses the following packages:
You will need to add these lib as go get:
go get github.com/bwmarrin/discordgo
go get github.com/joho/godotenv
go get github.com/hpcloud/tail/...
To compile just do go build
The following packages are required to use $update
, $update-mods
commands.
factorio-updater for factorio version update.
factorio-mod-updater for mods update.
When FactoCord encounters an error will log to error.log within the same directory as itself.
If you are having an issue make sure to check the error.log to see what the problem is.
If you are unable to solve the issue yourself, please post an issue containing the error.log and I will review and attempt to solve what the problem is.
Currently I haven't had any luck getting FactoCord to run correctly on Windows, see this for information
If a way is found to fix this problem, then Windows support will be added.
- Brett and MajesticFudgie for making the logo!
- UclCommander for finding me the tails library which made this a lot easier to build.
- FactoCord Original repo of FactoCord