Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.12 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.12 KB

Discord2Telegram

Forwards messages from Discord to Telegram channel


Setting up

Before starting, you must first configure config.py


Running on heroku

For the bot to work on heroku, you need to create a few additional files

  • Create a file named Procfile with code:
worker: python main.py
  • Create a file named requirements.txt with code:
discord==1.7.3
telebot==0.0.4 
pyTelegramBotAPI==4.4.0
  • Create a heroku project and select your repository (must be private). Deploy project
  • Activate main.py in resources tab

Advice

Don't give the discord bot admin rights. So it will be possible through the role to regulate the channels that he will read