Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 844 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 844 Bytes

slack-to-telegram-bot

Bot for forwarding slack messages to telegram.

Usage

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!

Depencencies

Install the dependencies via pip: pip install -r requirements.txt.

License

Licensed under the Unlicense. Do with it whatever you want.