Bot for forwarding slack messages to telegram.
Tested on Python 3.5.
For configuration, set the following environment variables:
$ export SLACK_TOKEN='' # Slack bot token
$ export TELEGRAM_TOKEN='' # Telegram bot token
$ export TELEGRAM_TARGET='' # Target chat
For the target chat, see http://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id-ruby-gem-telegram-bot.
Run with:
python bot.py # <- You could not have guessed that!
Install the dependencies via pip: pip install -r requirements.txt
.
Licensed under the Unlicense. Do with it whatever you want.