The Factoid Authority Bot,
Monitors your nodes,
Wakes you up when it all goes tits up.
|
2 years ago | |
---|---|---|
.vs | 2 years ago | |
TFA-Bot | 2 years ago | |
.gitignore | 2 years ago | |
BuildCommon.targets | 2 years ago | |
Dockerfile | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
TFA-Bot.sln | 2 years ago | |
entrypoint.sh | 2 years ago |
Copy this Google spreadsheet, rename it, and fill in every sheet tab. Follow the instructions on the "Settings" tab. https://docs.google.com/spreadsheets/d/19SLbCQLFKpkSaZ88SAmN_Mg8L8M-TkiB67TJD67lNQA/edit?usp=sharing
Get a read-only share URL for your spreadsheet. (Dont share it with anyone, but you can invite your members for full read/write access)
On your server (using your own URL):
docker build -t tfa-bot https://git.factoid.org/TFA/TFA-Bot.git
docker run --restart=always -d -e "BOTURL=https://docs.google.com/spreadsheets/d/123456789123456789123456789123456789/edit?usp=sharing" --name bot tfa-bot
TFA-Bot uses SIPp to make phone calls via a SIP VOIP gateway. The supplied dialplan.xml may work for you. It calls any given number until it's answered (or times out). Some services may require a custom dialplan or "scenario", which you can test using the sipp bash command. Alternative scenario scrips here
Fill in your SIP settings on the spreadsheet. You can optionally provide the password to docker using -e "SIP-PASSWORD=...."
Type 'Help' in any discord channel where the Bot is present. You can add the Bot to all your Discord channels so that it reacts to your commands wherever you are. The Bot will monitor Factom's #operators-alerts channel. Anything posted there, will be copied to your own Bot Alerts channel.
Type 'nodes' to see the current state.