/channels_bot

A bot that transfers a message to a list of channels.

Primary LanguagePython

Channels Bot

A bot that transfers a message to a list of channels.

Notes:

  • The bot must be added as an admin to the channel.
  • When you add the channel id remove (-) from the channel id (example : 1965823218 not -1965823218).
  • Don't remove the file named (channels.db). It's your channels database.
  • Browse your database with this software here.

How to start the bot?

  • Get your telegram chat_id from here
  • Create new bot from here and extract the bot_token.
  • Send at least one message from your Telegram account to the Bot.
  • Open config.py file and enter the chat_id and bot_token.
  • Clone the repository or download it from here and unzip it.
  • Open channels_bot on cmd and type :
  pip install -r requirements 
  • To start the bot enter :
  python main.py
  • To stop the bot enter CTRL+C.