Skip to content

Slackbot that listens to channel message and forward to Telegram

Notifications You must be signed in to change notification settings

jianshen92/slack-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-telegram-bot

Deploys a slackbot on Heroku that listens to mentions/messages in Slack Channels and send some messages to Telegram Group Chat.

Tested on Python 3.7

Getting started

Setup your slackbot

Follow this guide.

Get Telegram Token

Follow this gist.

Environment Variables

Variable Name Description
SLACK_TOKEN Slack's Bot Oath Token
SLACK_SIGNING_TOKEN Signing Secret
TELEGRAM_TOKEN Telegram Bot Token
TELEGRAM_CHAT_ID Telegram Chat Group ID

Run Locally

Install dependencies.

pip install -r requirements.txt

Run Flask app

python app.py

Mention your bot in your channels, your telegram bo

Deploy to heroku

Setup with this very simple and sweet guide.

And just deploy with

git push heroku master

Author

About

Slackbot that listens to channel message and forward to Telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages