Posts the Lisbon Metro status updates to Twitter and Telegram. Written for use with Docker.
If an env file exists with KEY=VALUE mappings for the environment variables:
docker run --env-file env -d -v /local/directory:/state tiagoad/mlbot
BOT_DEBUG- Debug output if setBOT_PRETEND- Output data to command-line, instead of sending to TwitterRUN_INTERVAL- Interval between runs, in seconds (defaults to 120 seconds)TWITTER_CONSUMER_KEY- Twitter consumer keyTWITTER_CONSUMER_SECRET- Twitter consumer secretTWITTER_ACCESS_TOKEN_KEY- Twitter access tokenTWITTER_ACCESS_TOKEN_SECRET- Twitter access token secretTELEGRAM_KEY- Telegram bot API keyTELEGRAM_DESTINATION- Comma-separated list of telegram channel/group names and IDs
/state- Holds variable state